2
2
3
3
# Android PdfViewer
4
4
5
- AndroidPdfViewer 1.x is available on [ AndroidPdfViewerV1] ( https://github.com/barteksc/AndroidPdfViewerV1 )
6
- repo, where can be developed independently.
5
+ __ AndroidPdfViewer 1.x is available on [ AndroidPdfViewerV1] ( https://github.com/barteksc/AndroidPdfViewerV1 )
6
+ repo, where can be developed independently.__
7
7
8
8
Library for displaying PDF documents on Android, with ` animations ` , ` gestures ` , ` zoom ` and ` double tap ` support.
9
9
It is based on [ PdfiumAndroid] ( https://github.com/barteksc/PdfiumAndroid ) for decoding PDF files. Works on API 11 and higher.
10
10
Licensed under Apache License 2.0.
11
11
12
- ## What's new in 2.1.0?
13
- * fixed loading document from subfolder in assets directory
14
- * fixed scroll handle NPE after document loading error (improvement of 2.0.3 fix)
15
- * fixed incorrect scroll handle position with additional views in RelativeLayout
16
- * improved cache usage and fixed bug with rendering when zooming
17
- * if you are using custom scroll handle: scroll handle implementation changed a little bit, check DefaultScrollHandle source for details
12
+ ## What's new in 2.2.0?
13
+ * Merge pull request by [ skarempudi] ( https://github.com/skarempudi ) which fixes SDK 23 permission problems in sample app
14
+ * Merge pull request by skarempudi for showing info on phones without file manager
15
+ * Add feature from 1.x - canvas is set to drawable from View#getBackground()
18
16
19
17
## Changes in 2.0 API
20
18
* ` Configurator#defaultPage(int) ` and ` PDFView#jumpTo(int) ` now require page index (i.e. starting from 0)
@@ -29,7 +27,7 @@ Licensed under Apache License 2.0.
29
27
30
28
Add to _ build.gradle_ :
31
29
32
- ` compile 'com.github.barteksc:android-pdf-viewer:2.1 .0' `
30
+ ` compile 'com.github.barteksc:android-pdf-viewer:2.2 .0' `
33
31
34
32
Library is available in jcenter repository, probably it'll be in Maven Central soon.
35
33
0 commit comments