Comments (5)
Handler? 库里面没有使用Handler,方便说明下是哪块吗?
from countdownview.
@iwgang https://github.com/iwgang/CountdownView/blob/master/library%2Fsrc%2Fmain%2Fjava%2Fcn%2Fiwgang%2Fcountdownview%2FCustomCountDownTimer.java
from countdownview.
喔,是这个倒计时类,这个是完全copy的android.os.CountDownTimer源码,只做了细小调整
现在有出现因此引起的内存泄露吗?
from countdownview.
我在项目中测试下看效果,放在Recyclerview中,不知道会不会有问题。有问题再提反馈
from countdownview.
嗯,好的,谢谢你的反馈,其实这个我有测试过,只要在不需要时处理好回收工作(非列表使用时可以不用关注回收),是不会出现泄露问题的。
不过在RecyclerView和ListView中使用时,不建议直接调用CountdownView的start()方法来使用
可以用一个集合去给维护一个CustomCountDownTimer处理倒计时工作,然后使用CountdownView的updateShow()方法更新显示
from countdownview.
Related Issues (20)
- 请问为什么切换fragment后没有进入倒计时结束事件 HOT 1
- Is there any method to manually check remaining milliSec after custom time? HOT 1
- RecyclerView列表,倒计时结束问题 HOT 5
- 希望可以支持自定义字体
- 博主救急 HOT 2
- setConvertDaysToHours(true) HOT 2
- 能否将suffix和timeText对齐 HOT 1
- isConvertDaysToHours设置为true后 再次DynamicConfig未设置会置false
- time background not showing HOT 1
- How to show suffix and time in same background?
- 怎么获取具体的天 小时 分钟 这些参数呢
- request: Flip animation
- 功能是否包含计时器功能,Chronometer只能精确到秒,不太理想
- 如果后台返回的是一个时间戳,该怎么转呢?
- 为什么设置了isShowDay="true",天数小于0的时候,不隐藏"00天"呢? HOT 2
- 秒这个文字,最右边有一点点没有显示完全,咋解决?
- isShowTimeBgBorder无效,边框没显示
- 急急急! isHideTimeBackground 不支持动态改变??
- 请问只显示秒的情况下,怎么设置显示三位数
- 手机锁屏之后,倒计时会暂停吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from countdownview.