Skip to content

Commit cfc8e76

Browse files
committed
2 parents 62260ad + 166830f commit cfc8e76

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ allprojects {
2121
### 2. 在Module的build.gradle添加依赖
2222

2323
```
24-
compile "com.github.alexchenopen:VerticalTipsBanner:0.0.1"
24+
compile "com.github.alexchenopen:VerticalTipsBanner:0.0.2"
2525
```
2626

2727
### 3. 在xml中使用该控件
2828
```
29-
<com.alex.widget.banner.tips.Banner
29+
<com.alex.widget.banner.tips.TipsBanner
3030
android:id="@+id/banner"
3131
android:layout_width="match_parent"
3232
android:layout_height="100dp"
@@ -41,7 +41,7 @@ compile "com.github.alexchenopen:VerticalTipsBanner:0.0.1"
4141

4242
也可以在Activity中通过Java代码控制
4343
```
44-
banner = (Banner) findViewById(R.id.banner);
44+
banner = (TipsBanner) findViewById(R.id.banner);
4545
banner.setDelayTime(3000)
4646
.setScrollTime(4000)
4747
.setAutoPlay(true)

0 commit comments

Comments
 (0)