SwitchButton icon indicating copy to clipboard operation
SwitchButton copied to clipboard

SwitchButton.An beautiful+lightweight+custom-style-easy switch widget for Android,minSdkVersion >= 11

Results 40 SwitchButton issues
Sort by recently updated
recently updated
newest added

I don't want the animation to constantly change while scrolling through the RecyclerView. How can I solve this? I just want it to be animated while I'm checking out. For...

Hello @zcweng, we need to update the **gradle-mvn-push.gradle**. At the moment, the **maven** plugin needs to be replaced with the **maven-publish** plugin and the file code must be rewritten. This...

代码设置选中 setChecked ,可以不进入CheckedChange事件吗? 只有手动切换的时候,才进入CheckedChange事件

比如有这么一个需求,点击switch开关,点击后会有个网络请求,需要根据请求返回的状态来设置这个开关的状态,这样的话就需要在onCheckedChanged中使用setChecked(isChecked)方法,可是这种方式被弄成异常抛出了,请问是否有其他方式可以实现?

------------------------------------------- Cannot find a getter for that accepts parameter type 'java.lang.Boolean' If a binding adapter provides the getter, check that the adapter is annotated correctly and that the parameter type...

Because background is set to "Color.White" by default. "sb_uncheck_color" for track not working. https://github.com/zcweng/SwitchButton/blob/master/library/src/main/java/com/suke/widget/SwitchButton.java#L159 https://github.com/zcweng/SwitchButton/blob/master/library/src/main/java/com/suke/widget/SwitchButton.java#L283

@Override public final void setOnClickListener(OnClickListener l) {} can you please add its implementation

Sometimes in some scenario we want to disable drag, and just want the swipeButton toggled just by click, can we achieve that?