iOS-SwitchView
iOS-SwitchView copied to clipboard
setChecked or toggle method does nothing for onCheckedChangeListener
onCheckedChangeListener only works for touch events it seems. If you try to use the setChecked or toggle methods to change checked, it doesn't work at all. It is probably because onCheckedChange is not called in refreshState() in the library.
@John61590 PR is welcome 🚀