+ 1

How do I uncheck checkbox programmatically?

if (checkbox.isChecked ()){ //code for unchecking it. } How can I do it. First check if the checkbox is checked then uncheck it. Idea is to reset all the checkbox

29th May 2019, 8:43 PM
Ghost rider
1 ответ
+ 2
checkbox.setSelected(false);
29th May 2019, 10:14 PM
Gordon
Gordon - avatar