mercredi 21 janvier 2015

How to make checkbox2 uncheck when checking checkbox1 and vice versa on AndroidStudio?

How would I make a checkbox uncheck a previously checked checkbox and vice versa. I am trying to develop an app where checking you can only choose one of the two options. I could not seem to get onCheckedChangeListener working. I don't want radio buttons because they can't be unclicked.


I tried this code posted by Noob under a similar question. I need to uncheck a checkbox when a particular checkbox is checked





Aucun commentaire:

Enregistrer un commentaire