Skip to content

Instantly share code, notes, and snippets.

@fnzainal
Last active November 27, 2015 13:20
Show Gist options
  • Save fnzainal/4526f3ecfe26ae02efeb to your computer and use it in GitHub Desktop.
Save fnzainal/4526f3ecfe26ae02efeb to your computer and use it in GitHub Desktop.
@Override
public void onStop() {
super.onStop();
//params listAdapter, name of ExpandableListAdapter
for (int i =0;i<listAdapter.getGroupCount();i++){
//params expListView, name of ExpandableListView
expListView.collapseGroup(i);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment