I have a TableLayout; first column of the first TableRow is a Checkbox. The TableLayout and the first TableRow are created in the axml file. I populate the rest of the TableRows in the cs file. The first column of each programmatically created TableRow is also a CheckBox.
Using the CheckBox in the first TableRow I would like to Check/Uncheck all programmatically created CheckBoxes.
In a Windows form I would do this by gathering the checkboxes into an array, iterating through the array to set the checked property on each. In my Android app I can't figure out how to do this.
Anyone know how?
Aucun commentaire:
Enregistrer un commentaire