Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 878cd30

Browse files
committed
Update README and CHANGELOG
Update gradle plugins and build tools versions Update version
1 parent d3de236 commit 878cd30

File tree

5 files changed

+19
-16
lines changed

5 files changed

+19
-16
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 2.2.0 (2016-11-15)
2+
* Merge pull request by [skarempudi](https://github.com/skarempudi) which fixes SDK 23 permission problems in sample app
3+
* Merge pull request by skarempudi for showing info on phones without file manager
4+
* Add feature from 1.x - canvas is set to drawable from View#getBackground()
5+
16
## 2.1.0 (2016-09-16)
27
* fixed loading document from subfolder in assets directory
38
* fixed scroll handle NPE after document loading error (improvement of 2.0.3 fix)

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,17 @@
22

33
# Android PdfViewer
44

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.__
77

88
Library for displaying PDF documents on Android, with `animations`, `gestures`, `zoom` and `double tap` support.
99
It is based on [PdfiumAndroid](https://github.com/barteksc/PdfiumAndroid) for decoding PDF files. Works on API 11 and higher.
1010
Licensed under Apache License 2.0.
1111

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()
1816

1917
## Changes in 2.0 API
2018
* `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.
2927

3028
Add to _build.gradle_:
3129

32-
`compile 'com.github.barteksc:android-pdf-viewer:2.1.0'`
30+
`compile 'com.github.barteksc:android-pdf-viewer:2.2.0'`
3331

3432
Library is available in jcenter repository, probably it'll be in Maven Central soon.
3533

android-pdf-viewer/build.gradle

Lines changed: 3 additions & 3 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 = '2.1.0'
16+
libraryVersion = '2.2.0'
1717

1818
developerId = 'barteksc'
1919
developerName = 'Bartosz Schiller'
@@ -26,13 +26,13 @@ ext {
2626

2727
android {
2828
compileSdkVersion 23
29-
buildToolsVersion '23.0.2'
29+
buildToolsVersion '23.0.3'
3030

3131
defaultConfig {
3232
minSdkVersion 11
3333
targetSdkVersion 23
3434
versionCode 1
35-
versionName "2.1.0"
35+
versionName "2.2.0"
3636
}
3737

3838
}

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ buildscript {
44
jcenter()
55
}
66
dependencies {
7-
classpath 'com.android.tools.build:gradle:2.1.3'
8-
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
9-
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
7+
classpath 'com.android.tools.build:gradle:2.2.2'
8+
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
9+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
1010
}
1111
}
1212

sample/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ apply plugin: 'android-apt'
1717

1818
android {
1919
compileSdkVersion 23
20-
buildToolsVersion "23.0.2"
20+
buildToolsVersion "23.0.3"
2121

2222
defaultConfig {
2323
minSdkVersion 11

0 commit comments

Comments
 (0)