Comments (6)
昨天这个问题一直没找到 加班到2点,还好今天发现了
from switchbutton.
我也碰到了,是它动画没做完,然后有重复,最终结果出问题了。可以考虑设置动画时间非常短看看
from switchbutton.
我也遇到了,
from switchbutton.
from switchbutton.
是啊,我发现了 0.3s 以内的问题,但是问题应该在于
if(isChecked()){ //切换到unchecked setUncheckViewState(afterState); }else{ setCheckedViewState(afterState); }
前后两次都是一样的,因为没有修改 afterState 如果我们直接把状态设置好,让动画强制执行就不会有这个问题了
from switchbutton.
请问这个问题怎么修改呢?
from switchbutton.
Related Issues (20)
- 能不能添加preCheckedChanged生命周期或者CheckedChangeInterceptor
- 请问能不能设置仅在一个状态下进行监听 HOT 1
- 代码设置选中 setChecked ,可以不进入CheckedChange事件吗 HOT 9
- Button Color for both states HOT 1
- Changing Button color at runtime from code. HOT 3
- should NOT switch the state in method: [onCheckedChanged]! HOT 1
- RadioGroup implementation
- should
- 控件是否存在内置Margin或Padding?
- Uncheck Color Not Working HOT 2
- Add support for RTL layout
- Color selector for enabled disabled state not working
- How to disable drag?
- NO text attribute for swtich
- CANNOT use Databinding with attr: sb_checked HOT 1
- 为什么今天在引用SwitchButton库的时候只下载下来了res,但是class.jar包没被下载下来 HOT 1
- Toggle buttons HOT 3
- 是否可以支持通过代码修改颜色,更换主题需要 HOT 3
- Music photo
- Need to update the gradle-mvn-push.gradle
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 switchbutton.