ExpandableListView collapsing all parent items
I need a clue how to colla开发者_运维知识库pse (or find IDs for) all parent items in ExpandableListView.
Thanks,
Aleksander
int count = mListAdapter.getGroupCount();
for (int i = 0; i <count ; i++)
mListView.collapseGroup(i);
精彩评论