Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.

Commit cf31a3b

Browse files
committed
Fix NPE and IndexOutOfBound bugs when rendering parts
Merge pull request for disabling page change animation Merge pull request for drawing background if set on PDFView Update README and CHANGELOG Update version
1 parent f14ad2e commit cf31a3b

File tree

3 files changed

+13
-15
lines changed

3 files changed

+13
-15
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 1.4.0 (2016-07-25)
2+
* Fix NPE and IndexOutOfBound bugs when rendering parts
3+
* Merge pull request by [paulo-sato-daitan](https://github.com/paulo-sato-daitan) for disabling page change animation
4+
* Merge pull request by [Miha-x64](https://github.com/Miha-x64) for drawing background if set on `PDFView`
5+
16
## 1.3.0 (2016-07-13)
27
* update PdfiumAndroid to 1.4.0 with support for rendering annotations
38
* merge pull request by [usef](https://github.com/usef) for rendering annotations

README.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,10 @@ Library for displaying PDF documents on Android, with `animations`, `gestures`,
66
It is based on [PdfiumAndroid](https://github.com/barteksc/PdfiumAndroid) for decoding PDF files. Works on API 11 and higher.
77
Licensed 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

2214
Next release is coming soon, it will introduce continuous scroll through whole document
2315
and some incompatibilities with current API (only few small).
@@ -26,7 +18,7 @@ and some incompatibilities with current API (only few small).
2618

2719
Add 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

3123
Library 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

android-pdf-viewer/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ext {
1313
siteUrl = 'https://github.com/barteksc/AndroidPdfViewer'
1414
gitUrl = 'https://github.com/barteksc/AndroidPdfViewer.git'
1515

16-
libraryVersion = '1.3.0'
16+
libraryVersion = '1.4.0'
1717

1818
developerId = 'barteksc'
1919
developerName = 'Bartosz Schiller'
@@ -32,7 +32,7 @@ android {
3232
minSdkVersion 11
3333
targetSdkVersion 23
3434
versionCode 1
35-
versionName "1.3.0"
35+
versionName "1.4.0"
3636
}
3737

3838
}

0 commit comments

Comments
 (0)