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
This bug can be reproduced in the demo application.
Steps to reproduce:
Open AndroidSwipeLayout demo app
Open RecyclerView demo
Delete item number 6 (Colorado)
Delete item number 6 (Connecticut)
Delete item number 6 (Delaware)
You are now able to open both California and Florida (items 5 and 6) at the same time, even thought Mode.Single is set. Also, this is possible only if you open Florida first 😕
EDIT: Actually, the bugged items in this case are: Florida, Georgia and Hawaii (6,7,8). You are able to keep these 3 items opened + any other item at the same time.
The text was updated successfully, but these errors were encountered:
I think the problem is in calling this line:
mItemManger.removeShownLayouts(viewHolder.swipeLayout);
What this does is it removes the layout from item manager, which sounds logical at first because item is deleted, but this very layout is used for view recycling - so the item manager will ignore not just the deleted item, but all the items that got recycled using it's layout. Hope this makes sense.
This bug can be reproduced in the demo application.
Steps to reproduce:
EDIT: Actually, the bugged items in this case are: Florida, Georgia and Hawaii (6,7,8). You are able to keep these 3 items opened + any other item at the same time.
The text was updated successfully, but these errors were encountered: