阅读背景:

ExpandableListView和CheckTextView / Checkbox之间的Android兼容性

来源:互联网 

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. For category, I used a textView and a checkbox, because when we click on the category name, we need to expand it (it is an expandable list view after all !). For the selection, the listview is on "Multiple Choice Mode". The adapter as the list of checked items, and in the getchild/getgroup view(), I set the checkbox (or the checkedtextview) to the state given by the sparsebooleanarray (of the listview). For each checkbox i do : I've created an activity, which has an expandab




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: