How to keep ExpandableListView in expanded status?

后端 未结 6 1624
北恋
北恋 2020-12-14 09:19

I use

SimpleExpandableListAdapter

in my

ExpandableListActivity

When user click th

6条回答
  •  不思量自难忘°
    2020-12-14 09:41

    I have done this way:

    ExpandableAdpater adapter=new ExpandableAdapter(context);
    expandableListView.setAdapter(adapter);
    
    for (int i = 0; i < listResponse.size(); i++) {
                                    expandableListView.expandGroup(i);
                                }
    

提交回复
热议问题