Comments (7)
什么情况下?
from countdownview.
我这里也出现了负时间,调用updateShow(3922689000)。
from countdownview.
xml文件
<cn.iwgang.countdownview.CountdownView app:isHideTimeBackground="false" android:layout_width="wrap_content" android:layout_height="wrap_content" app:isShowMinute="true" app:isShowSecond="false" app:timeTextSize="@dimen/countdownview_time_ts" app:timeTextColor="@android:color/white" app:timeBgColor="@color/red_bg2" app:suffixDay="@string/suffix_day" app:suffixHour="@string/suffix_hour" app:suffixMinute="@string/suffix_minute" app:suffixTextSize="@dimen/min_txtsize" app:suffixTextColor="@color/txt_grey1" app:timeBgRadius="2dp" />
@iwgang
from countdownview.
如果是自己控件的倒计时,检查一下有没有倒计时结束后去停止CountdownView,或者调用CountdownView的allShowZero()方法
from countdownview.
我那个是从联网实体里面拿出来的时间,改了一些东西,过两天我写个demo给你
from countdownview.
@javakam 好的,谢谢
from countdownview.
我找到了我的错误,int越界了,不是控件的问题....,当初我只是简单打印了下,int转String不会有越界所以看到是正的
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.