Just a thought - maybe instead of keeping all the bitmaps in memory, you could create them one at a time as they come into view. This could help avoid any potential Out of Memory (OOM) errors with larger PDFs. That's what a lazy column is great for, right?. In practice, keeping an array with more than 15 bitmaps (each about 1MB) will almost always cause an OOM exception, even if you only display one at a time using lazy builders like LazyColumn or ViewPager.
As always: amazing content Philipp. Your course about coroutines sounds like the thing I need. Will it be a premium course? Does it contain exercises against a real life app like the industry ready test course?
@@lindaporsius it will start with teaching the fundamentals and internals of Coroutines and then contain practical examples and use cases of Coroutines and flows afterwards :) There will probably also be homework assignments
Thank you so much @philp this wi what i was waiting for for a very long time. I also appreciate the fact that you always create very good and powerful tutorials, i have taught myself from them many times
The one question I have is in renders like this in the past I have generally had to release the bitmap on dispose because rapid scrolling of a large document causes crashes. Have you tried this with this style?
i target on 35,and load pdf async, but it only worked on devices using android 15,and crashed on devices below android 15,why no complie errors when i used openPage() in async block?
nice tutorial thank you, I just hope you use conventional language to avoid confusion, you say youri, but it's u r i each letter pronounced separately.
I have no words. You are amazing, ty!🙏
I have been waiting for this video for a long time
Just a thought - maybe instead of keeping all the bitmaps in memory, you could create them one at a time as they come into view. This could help avoid any potential Out of Memory (OOM) errors with larger PDFs. That's what a lazy column is great for, right?.
In practice, keeping an array with more than 15 bitmaps (each about 1MB) will almost always cause an OOM exception, even if you only display one at a time using lazy builders like LazyColumn or ViewPager.
@@amalmanoj5074 good point, thanks for adding 👍🏼
It's nice seeing how well this works! Q: API < 35? A: Use an intent to open a pdf viewer instead?
As always: amazing content Philipp. Your course about coroutines sounds like the thing I need. Will it be a premium course? Does it contain exercises against a real life app like the industry ready test course?
@@lindaporsius it will start with teaching the fundamentals and internals of Coroutines and then contain practical examples and use cases of Coroutines and flows afterwards :)
There will probably also be homework assignments
Homework sounds great.
Thank you so much @philp this wi what i was waiting for for a very long time. I also appreciate the fact that you always create very good and powerful tutorials, i have taught myself from them many times
me too I find his tutorial powerful ones in app development
Good content! That exact what Im looking for, but I also want to implementation usual text copy feature, can I draw some text layer for that and how?
Very cool, can you also zoom the pages ?
Do you create Ebook app using KMM? Please 🙏
Thanks, it is work, but i remove async, couse i have error "java.lang.IllegalStateException: Current page not closed"
Hearing pdf file so many times has me laughing 😂😂
Portable Data Format - what's funny about PDF file?
@@ben_dieselp*do file 😢
It's a meme. Pdf file sounds like pedophile. The meme started because of some mr beast drama@@ben_diesel
Can't unhear it now. Thx
it will very much helpful. if you make for a tutorial for
How to Generate multiple page pdf in Compose
The one question I have is in renders like this in the past I have generally had to release the bitmap on dispose because rapid scrolling of a large document causes crashes. Have you tried this with this style?
Sir please tell me how I can add pdf dependency in koala setup on android studio please tell me
Great 👍
Are you a catholic or a orthodox?
Thank for Philipp but I have a problem. Quality of pdf after render is low. How can I make it higher quality
How to convert .pdf file from API to Uri or how to display it using the above approach?
i target on 35,and load pdf async, but it only worked on devices using android 15,and crashed on devices below android 15,why no complie errors when i used openPage() in async block?
Hi! This approach is valid for Kotlin/Compose Multiplatform?
anyone, link to that lorem ipsum PDF download?
PDF to ebook app using KMM
Do you create Ebook app using KMM? Please
How pdfRenderer works on Android pre 15?!
Your minSdk was 24 but no compiler complain!
I realized PdfRenderer is added on API 21. Just searching functionality is added on Android V.
Thoughts before sleeping:
If the user didn't allow notifications
Then how can I run Foreground Services??
nice tutorial thank you, I just hope you use conventional language to avoid confusion, you say youri, but it's u r i each letter pronounced separately.
Just like some people prefer Sequel over SQL and lol over L-O-L ;)
I don’t think it matters so much. I’m pretty sure everyone can tell what he meant.