lundi 18 septembre 2017

How to create checkboxes tree in Android Alert Dialog?

I need an Alert Dialog with checkboxes tree so child checkboxes are active only when I select parent one. I need to save selected child checkboxes but each parent has its own ArrayList for selected childrens. Eg. if I select checkbox 'A' checkboxes 'one', 'two', 'three' will be activated. If I select any from 'A' childrens they will be saved in 'A' ArrayList. If I select 'A' but don't select any child I will save some control value in 'A' ArrayList so I know, that I selected 'A' checkbox.

Is it posible?

Thanks for your help.




Aucun commentaire:

Enregistrer un commentaire