I use
SimpleExpandableListAdapter
in my
ExpandableListActivity
When user click th
I did something similar, except I keep all the groups expanded all the time. To accomplish this, I got a handle to the listView via ExpandableListActivity.getExpandableListView() and use ExpandableListView.expandGroup (int groupPos) to expand the groups.
For your scenario, you could keep track of which group(s) is/are expanded and once the activity to loaded again, re-expand them.
Hope this helps.
One other thing...I put this code in OnCreate().