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
The switch view doesn't work correctly:
switch.setOncheckListener(new OnCheckListener() {
@Override
public void onCheck(boolean isChecked) {
System.out.println("isChecked = "+ switch.isChecked());
Toast.makeText(getActivity(), "Switch status = "+isChecked, 0).show();
}
});
1- When you drag with the finger to check or uncheck, it works ok. (it shows a toast)
2- When you click the circular part of the switch, the animation starts and it seems that the switch has changed its state, but the toast is not shown. (Error?)
3- When you click the No circular part of the switch, the animation starts and the toast is shown.
The text was updated successfully, but these errors were encountered:
The switch view doesn't work correctly:
switch.setOncheckListener(new OnCheckListener() {
1- When you drag with the finger to check or uncheck, it works ok. (it shows a toast)
2- When you click the circular part of the switch, the animation starts and it seems that the switch has changed its state, but the toast is not shown. (Error?)
3- When you click the No circular part of the switch, the animation starts and the toast is shown.
The text was updated successfully, but these errors were encountered: