File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,8 +19,17 @@ I wrote this library just because I want a lightweight slider.
1919
2020``` groovy
2121dependencies {
22- compile 'com.cpacm.simpleslider:library:2.1.0'
22+ implementation 'com.cpacm.simpleslider:library:2.1.0'
2323}
24+
25+ if module has conflict, use
26+ 如果有组件冲突,可以使用以下方法导入
27+ dependencies {
28+ implementation (com.cpacm.simpleslider:library:2.1.0){
29+ exclude module: 'appcompat-v7'
30+ }
31+ }
32+
2433```
2534
2635### Add the slider to your layout
@@ -50,6 +59,7 @@ circlePageIndicator.setViewPager(simpleSlider);
5059### Basic
5160![ indicator] ( https://raw.githubusercontent.com/cpacm/SimpleSlider/develop/pic/BasicSlider.gif )
5261
62+ 两种轮播器,一种是普通模式,一种是回廊模式。
5363
5464### Indicator
5565
@@ -66,6 +76,8 @@ The above indicators modified from [ViewPagerIndicator](https://github.com/JakeW
6676
6777Modify from [ SpringIndicator] ( https://github.com/chenupt/SpringIndicator )
6878
79+ 多种样式的指示器,可以根据场景选择适合的样式使用。
80+
6981** You can customize the indicator implements ` PageIndicator ` **
7082
7183### Transform
@@ -75,7 +87,11 @@ The above transforms come from [AndroidImageSlider](https://github.com/daimajia/
7587
7688** You can customize the transform extends ` BaseTransformer ` **
7789
90+ 丰富的过场动画(上面的回廊式轮播就可以通过设置 Transform 来实现)
91+
7892## ** Note:**
93+ 无限轮播最低要求有三张页面。
94+
7995** In the infinite loop mode, at least three sliders.**
8096** Android API >= 3.0**
8197
You can’t perform that action at this time.
0 commit comments