For android download Google PDF Viewer2/16/2024 ![]() fromStream( InputStream) // stream is written to bytearray - native code cannot use Java Streams or pdfView. If you are using ProGuard, add following rule to proguard config file: Library is available in jcenter repository, probably it'll be in Maven Central soon. Implementation ':android-pdf-viewer:2.8.2' Or if you want to use more stable version: Implementation ':android-pdf-viewer:3.2.0-beta.1' Removed PDFView#setSwipeVertical() method.Removed page size parameters from OnRenderListener#onInitiallyRendered(int) method, as document may have different page sizes.Removed Configurator#invalidPageColor(int) method as invalid pages are not rendered.Removed PDFView#fitToWidth() (variant without arguments).Replaced Contants.PRELOAD_COUNT with PRELOAD_OFFSET.Update compile SDK and support library to 28.Merge PR #628 with fix for hiding scroll handle.Merge PR #689 with possibility to disable long click.Merge PR #703 with fix for too many threads. ![]() Merge PR #722 with fix for showing right position when view size changed.Merge PR #776 with fix for max & min zoom level.Works on API 11 (Android 3.0) and higher. ![]() It is based on PdfiumAndroid for decoding PDF files. Library for displaying PDF documents on Android, with animations, gestures, zoom and double tap support. So if you don't like 2.x version, try 1.x. Version 1.x uses different engine for drawing document on canvas, Repo, where can be developed independently. Looking for new maintainer! Android PdfViewerĪndroidPdfViewer 1.x is available on AndroidPdfViewerV1
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |