In Android 5.0, Google introduced the PdfRenderer class, which is great for rendering PDFs. The problem is that it is only available with minSDK 21. https://developer.android.com/reference/android/graphics/pdf/PdfRenderer.html
How can i find out if there are plans to include this class in a support library?
PdfRenderer class is not thread-safe. If we want to render a PDF, we first need to get a ParcelFileDescriptor from the file and then create a renderer instance. Later for every page, we want to render, we open the page, render it, and close the page. After we are done with rendering, we close the renderer.
pdf_render is a PDF renderer implementation that supports iOS (>= 8.0), Android (>= API Level 21), and Web. It provides you with intermediate PDF rendering APIs and also easy-to-use Flutter Widgets.
How can i find out if there are plans to include this class in a support library?
You can get a job with Google, then ask them. Google does not generally make pronouncements about what will happen when with respect to the Android SDK, including the Android Support package.
That being said, since that class relies upon native code, it is unlikely that it will be added to the Android Support package.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With