How do I uncheck checkbox programmatically? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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 Réponse
+ 2
checkbox.setSelected(false);
29th May 2019, 10:14 PM
Gordon
Gordon - avatar