As @George D wrote that there is an ExpandableListView .isGroupExpanded(int groupPosition) . Well, you can add code to get an expanded group position or -1
public int getExpandedGroupPosition() { for (int i = 0; i < listView.getExpandableListAdapter().getGroupCount(); i++) { if ( listView.isGroupExpanded(i) ) { return i; } } return -1; }
source share