I am using expandableListView for UI design, so I am wondering for Android expandable listview, is there a way to allow only one list item expanded, i.e. when you click and
First of all implement OnGroupExpandListener in your Activity that will allow you to add its default method, and after add that default method you need to do like this:
@Override
public void onGroupExpand(int groupPosition) {
// TODO Auto-generated method stub
int len = expadapter.getGroupCount();
for(int i=0;i