When I expand a new group, can I collapse the last one expanded?
Do this to expand the clicked group and collapse all others
public void onGroupExpand(int groupPosition) { for (int i = 0; i < len; i++) { if (i != groupPosition) { expandableListDetailsLevel.collapseGroup(i); } } }
It's working for me.