You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Step 1. Have around 20 items in the adapter created initially.
Step 2. Then apply filter so that less items(10?) remain
Step 3. Remove an item from the adapter - ex: adpater.removeitem(2)
Step 4. Clear the filter.
The item removed here shows up in the list again after clearing the the filter. Is there any way I can make that deletion stick?
The text was updated successfully, but these errors were encountered:
Do you invoke the filter providing a new list or use the internal list?
I'm using internal list at the moment.
filterItems acceps a list also.
Does this change the mOriginalList contained within? I think I'm encountering the issue because of the mOriginalList not being modified/deleted while using adapter.removeItem(int position) while it is filtered.
Step 1. Have around 20 items in the adapter created initially.
Step 2. Then apply filter so that less items(10?) remain
Step 3. Remove an item from the adapter - ex: adpater.removeitem(2)
Step 4. Clear the filter.
The item removed here shows up in the list again after clearing the the filter. Is there any way I can make that deletion stick?
The text was updated successfully, but these errors were encountered: