itemrenderer

ANDROID - ExpandableListView

可紊 提交于 2019-11-26 06:38:51
问题 Im trying to figure out how to build a view that contains (many of): PARENT1 (checkable, expandable) CHILD1 (RADIO BUTTON) CHILD2 (RADIO BUTTON) ... PARENT2 (checkable, expandable) CHILD1 (CHECKABLE) CHILD2 (CHECKABLE) ... The point is that parent has to be checkable and based on that children have to change the icon. Can some1 point me into the right direction, because from what i found nothing seems to work for me. 回答1: I assume, you have your data structured somehow, like: ArrayList where