Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zhpanvip authored Sep 28, 2019
1 parent 7e99ff6 commit bbfd8f5
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,24 @@

## 1.gradle中添加依赖

latestVersion is: [ ![latestVersion](https://api.bintray.com/packages/zhpanvip/CircleViewPager/bannerview/images/download.svg) ](https://bintray.com/zhpanvip/CircleViewPager/bannerview/_latestVersion)

如果您已迁移到AndroidX请使用latestVersion(>=2.3.0)
如果您已迁移到AndroidX,请在项目的root build.gradle中添加如下配置:
```
implementation 'com.zhpan.library:bannerview:latestVersion'
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
Add the dependency
```
implementation 'com.github.zhpanvip:BannerViewPager:2.3.0'
```
如果未迁移到AndroidX请使用:

如果未迁移到AndroidX请使用(非Androidx的包在JCenter上):
```
implementation 'com.zhpan.library:bannerview:2.2.7'
```
Expand Down

0 comments on commit bbfd8f5

Please sign in to comment.