@@ -6,18 +6,10 @@ Library for displaying PDF documents on Android, with `animations`, `gestures`,
66It is based on [ PdfiumAndroid] ( https://github.com/barteksc/PdfiumAndroid ) for decoding PDF files. Works on API 11 and higher.
77Licensed under Apache License 2.0.
88
9- ## What's new in 1.3.0?
10- * update PdfiumAndroid to 1.4.0 with support for rendering annotations
11- * merge pull request by [ usef] ( https://github.com/usef ) for rendering annotations
12-
13- ## What's new in 1.2.0?
14- * update PdfiumAndroid to 1.3.1 with support for bookmarks, Table Of Contents and documents with password:
15- * added method ` PDFView#getDocumentMeta() ` , which returns document metadata
16- * added method ` PDFView#getTableOfContents() ` , which returns whole tree of bookmarks in PDF document
17- * added method ` Configurator#password(String) `
18- * added horizontal mode to ** ScrollBar** - use ` ScrollBar#setHorizontal(true) ` or ` app:sb_horizontal="true" ` in XML
19- * block interaction with ` PDFView ` when document is not loaded - prevent some exceptions
20- * fix ` PDFView ` exceptions in layout preview (edit mode)
9+ ## What's new in 1.4.0?
10+ * Fix NPE and IndexOutOfBound bugs when rendering parts
11+ * Merge pull request by [ paulo-sato-daitan] ( https://github.com/paulo-sato-daitan ) for disabling page change animation
12+ * Merge pull request by [ Miha-x64] ( https://github.com/Miha-x64 ) for drawing background if set on ` PDFView `
2113
2214Next release is coming soon, it will introduce continuous scroll through whole document
2315and some incompatibilities with current API (only few small).
@@ -26,7 +18,7 @@ and some incompatibilities with current API (only few small).
2618
2719Add to _ build.gradle_ :
2820
29- ` compile 'com.github.barteksc:android-pdf-viewer:1.3 .0' `
21+ ` compile 'com.github.barteksc:android-pdf-viewer:1.4 .0' `
3022
3123Library is available in jcenter repository, probably it'll be in Maven Central soon.
3224
@@ -60,6 +52,7 @@ pdfView.fromAsset(String)
6052 .onError(onErrorListener)
6153 .enableAnnotationRendering(false )
6254 .password(null )
55+ .showPageWithAnimation(true )
6356 .load();
6457```
6558
0 commit comments