开发者

ExpandableListView collapsing all parent items

开发者 https://www.devze.com 2022-12-31 02:10 出处:网络
I need a clue how to colla开发者_运维知识库pse (or find IDs for) all parent items in ExpandableListView.

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);
0

精彩评论

暂无评论...
验证码 换一张
取 消