You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 8, 2024. It is now read-only.
If I use the setOnClickListener (which I prefer as it is more standard with the common widgets) the state of isOn reports the opposite of what the state is.
In other words, if the toggle is turning ON then when setOnClickListener is called the isOn state reports OFF. If the toggle is turning OFF then when setOnClickListener is called the isOn state reports ON.