Skip to content

Commit

Permalink
更新升级说明
Browse files Browse the repository at this point in the history
  • Loading branch information
xiandanin committed Jun 9, 2020
1 parent 70c8da9 commit 5dac1de
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# CountDownTimerSupport
Android倒计时器,支持开始倒计时、暂停倒计时、继续倒计时、停止倒计时、重新倒计时

## 示例APK
[example-1.0.3.apk](example-1.0.3.apk)

## 效果演示
![](screenshot/count-down-timer.gif)
![](screenshot/count-down-timer-2.gif)
Expand All @@ -10,6 +13,12 @@ Android倒计时器,支持开始倒计时、暂停倒计时、继续倒计时
```java
compile 'in.xiandan:count-down-timer:1.0.3'
```

### 旧版请谨慎升级到1.0.3以上
> 1.启用了新的包名,升级后需要在用到的地方修改为新的包名
>
> 2.onFinish的回调时机调整为与[CountDownTimer#onFinish()](https://developer.android.com/reference/android/os/CountDownTimer#onFinish())相同
#### 初始化
```
//总时长 间隔时间
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ org.gradle.jvmargs=-Xmx1536m
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
android.injected.testOnly=false

0 comments on commit 5dac1de

Please sign in to comment.