Dmitry-Borodin/pdfview-android
소개
Small Android library to show PDF files
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalpdfview
Android PDF view - small (73kB .aar file, ~400 methods before minification) and efficient PDF viewer embedded in your native app
It is based on ImageView and can handle big files with reasonable scrolling and zooming performance.
This is how fast scrolling of 680 page document looks like on low-end device:

Usage:
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 a file.
If pdf is on remote host - use your network client to download it to the cache folder, then show it. This library provides view, it doesn't do network requests.
There is a sample of how to do it.
Add to your project:
The library is hosted in the central repository.
repositories {
<...>
mavenCentral()
}
Add gradle dependency:
implementation "com.dmitryborodin:pdfview-android:1.1.0"
Wiki
Please take a look into the wiki to find out the technical details.
Contrubitions
Contributions are welcome. Just open PR to dev branch.
Feel free to open issue with any questions.
Credits
Thanks to Manuel Lilienberg for initial implementation of this library and subsampling-scale library for influence.
관련 프로젝트 살펴보기
불러오는 중…