使用pdfview第三方控件
学习网址:
1.依赖库原址------------GitHub - barteksc/AndroidPdfViewer: Android view for displaying PDFs rendered with PdfiumAndroid https://github.com/barteksc/AndroidPdfViewer
2.基础的使用方法------------第五章 Android加载PDF文件的使用 - 简书 https://www.jianshu.com/p/608b270a1ab8
3.在线加载pdf文件------------(Android)不用下载,在线加载pdf文件 - 优快云博客 http://blog.youkuaiyun.com/zumpling/article/details/55252870
一.准备工作
添加依赖:
compile 'com.github.barteksc:android-pdf-viewer:2.8.2'
xml布局:
<com.github.barteksc.pdfviewer.PDFView
android:id="@+id/pdf_view"
android:layout_width="match_parent"
android:layout_height="