Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a plan to include Android PdfRenderer in a support library?

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?

like image 505
user2955433 Avatar asked Mar 06 '15 14:03

user2955433


People also ask

How do I use PdfRenderer?

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.

What is PDF 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.


1 Answers

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.

like image 106
CommonsWare Avatar answered Sep 29 '22 16:09

CommonsWare