Hi
I need a clue how to collapse (or find IDs for) all parent items in ExpandableListView.
Thanks,
Aleksander
Hi
I need a clue how to collapse (or find IDs for) all parent items in ExpandableListView.
Thanks,
Aleksander
The below link will provie you the solution,
http://developer.android.com/reference/android/widget/ExpandableListView.html
int count = mListAdapter.getGroupCount();
for (int i = 0; i <count ; i++)
mListView.collapseGroup(i);