Android PDF view - small and efficient PDF viewer embedded in your native app
It is based on ImageView and can handle big files with reasonable performance on low-end devices.
To show pdf you just need a file on the device.
findViewById<PDFView>(R.id.activityMainPdfView).fromAsset("paper.pdf").show()
See sources for other methods to provide file.
The library is hosted in jcenter, it is available by default on new android projects
repositories {
<...>
jcenter()
}
Add gradle dependency:
implementation "com.pdfview:pdfview-android:0.0.3" //not yet in jcenter
Thanks to Manuel Lilienberg for initial implementation of this library and subsampling-scale library for influence.