Skip to content

Commit

Permalink
修改README
Browse files Browse the repository at this point in the history
  • Loading branch information
maning0303 committed Sep 5, 2019
2 parents f712d6a + 1fe833d commit e68fbbf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
#### 2.在Module目录下的build.gradle中添加依赖
``` gradle
dependencies {
compile 'com.github.maning0303:SwitcherView:v1.0.6'
//v7包,版本自定义
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.github.maning0303:SwitcherView:v1.0.6'
}
```

Expand Down Expand Up @@ -69,8 +71,6 @@
switcherView.stopRolling();
//手动滚动到下一个
switcherView.rollingToNext();
//修改间隔时间
switcherView.setTime(6*1000);

//设置出入动画
switcherView.setInAnimation(R.anim.anim_custom_in);
Expand Down

0 comments on commit e68fbbf

Please sign in to comment.