https://github.com/sfyc23/countdownlist
CountDown 倒计时的各种花式实现
https://github.com/sfyc23/countdownlist
android countdown countdown-timer countdowntime counttime kotiln rxbinding rxjava
Last synced: 24 days ago
JSON representation
CountDown 倒计时的各种花式实现
- Host: GitHub
- URL: https://github.com/sfyc23/countdownlist
- Owner: sfyc23
- Created: 2017-02-08T01:40:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-01-10T09:55:47.000Z (over 5 years ago)
- Last Synced: 2025-05-11T05:38:18.864Z (24 days ago)
- Topics: android, countdown, countdown-timer, countdowntime, counttime, kotiln, rxbinding, rxjava
- Language: Java
- Homepage:
- Size: 170 KB
- Stars: 250
- Watchers: 7
- Forks: 34
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CountDown 倒计时的各种花式实现
---
不多说直接上图吧![主菜单][1]
#### 1.简单用例:
分别用 **Timer**、 **Hanlder**、 **CountDownTimer** 、**ValueAnimator**、 **RxJava**、**倒计时结束时发送通知** 实现倒计时。还有一部分实现 pause resume 功能。![简单用例][2]
#### 2.倒计时列表。
分别使用 ListView && RecylerView 两种方法实现。![倒计时列表][3]
#### 3.其他
多种方式(自定义 CountDownButton,RxJava,工具类)实现短信倒计时 && 更多自定义功能的 CountDownTimer 类:1. 使用工具类一键实现;
2. 自定义 Button 简洁实现;
3. 用 RxJava 实现;
4. 用 RxBinding与 RxJava2 的方法;
5. 用 Kotiln & RxJava2 的方法实现,
6. 使用 Chronometer 方法使用单个倒计时。![短信倒计时列表][4]
[1]: http://github.sfyc.ltd/countdown_menu.png?imageView2/3/w/360/h/640/interlace/1
[2]: http://github.sfyc.ltd/countTime_github_02?imageView2/3/w/360/h/640/interlace/1
[3]: http://github.sfyc.ltd/countdown_recylerview.png?imageView2/3/w/360/h/640/interlace/1
[4]: http://github.sfyc.ltd/countdown_sms.png?imageView2/3/w/360/h/640/interlace/1