Reputation: 1623
In the code for ExpandableListView
implementation not having many entries and not scrollable as list is small, when an group is clicked, the expandable listview are populated with duplicate entries.
I am trying with kitkat version and I did check the adapter but could not get why it was populating with duplicate entries only after expansion and collapse of the list. This issue gets solved if we hit home button and then go back to the activity.
Any help would be appreciated. thanks.
Upvotes: 0
Views: 685
Reputation: 753
Inside onGroupClickListener for onGroupClick, set return type to true...
@Override
public boolean onGroupClick(ExpandableListView parent, View v, int groupPosition, long id) {
return true;
}
Upvotes: 1