Главная
Study mode:
on
1
Intro
2
Search Function
3
Coil Compost
4
Create PDF bitmap converter class
5
Read with context
6
Open file descriptor
7
Return with context
8
Create a bitmap
9
Create a canvas
10
Create PDF viewer screen
11
Context reference
12
Activity result launcher
13
Choose PDF launcher
14
Display a lazy column
15
Display a PDF page
16
Update the rendered pages
17
Test the render
18
Test on emulator
19
Open another PDF
20
Search PDF API
21
Search Results Data Class
22
Search Text State
23
Search Results
24
Draw Content
25
Calculate Scale Factor
26
Adjust Rect
27
Draw RCT
Description:
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only! Grab it Learn to render PDFs in Android using Jetpack Compose and implement a search function with highlighted results. Explore the PdfRenderer API to display PDF content within composables, and develop a robust search functionality that emphasizes search terms directly in the PDF. Gain hands-on experience creating a PDF bitmap converter class, handling file descriptors, and generating bitmaps and canvases. Implement a PDF viewer screen with context references and activity result launchers for PDF selection. Master the creation of lazy columns to efficiently display PDF pages, and test the rendering process on an emulator. Dive into advanced topics such as implementing a search API, managing search results with data classes, and dynamically adjusting content based on scale factors and rectangles.

Rendering PDFs in Android with Jetpack Compose - Including Search Functionality

Philipp Lackner
Add to list
0:00 / 0:00