Android Compatibility Between Expandablelistview And Checktextview/checkbox
I've created an activity, which has an expandable list view of category, and some of them as subcategory. They all need to be checkable. I used for subcategory, a checkedTextView.
Solution 1:
I've found a post that say that the two way are incompatible, but I can't remember where.
I stick to the way I found, by associating a boolean array for groups, and a two dimensional boolean array for childs, and each click on a group or a child will change the boolean associate to the position.
It's a bit heavy but it works and we can do anything we want.
Post a Comment for "Android Compatibility Between Expandablelistview And Checktextview/checkbox"