Open rathodvikas10 opened 10 years ago
It has an internal state of which index is open, if you remove an item you should ensure to update the adapter which in turn should let the listview know it is updated.. it may be the case that this is not working. Could you confirm this?
listView = (ActionSlideExpandableListView) getListView(); ... listView.setAdapter(mAdapter);
mAdapter.remove(position); mAdapter.notifyDataSetChanged();
Remove method in adapter remove(int position) { collectionData.remove(position); }
and i am using this https://github.com/romannurik/android-swipetodismiss
cool the item is removed, but when you click the item below it does not expand i guess in adapter the data is gone but in listview position still persist, how do i update position in listview ??