Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug when removing several items by swiping #10

Closed
miguelbcr opened this issue Sep 8, 2016 · 0 comments
Closed

Bug when removing several items by swiping #10

miguelbcr opened this issue Sep 8, 2016 · 0 comments
Labels

Comments

@miguelbcr
Copy link
Owner

Currently the item is removed when Snackbar.Callback.DISMISS_EVENT_TIMEOUT event is triggered, but if you remove several items quickly the Snackbar.Callback.DISMISS_EVENT_CONSECUTIVE event is triggered so the items are not remove really because only remove item from adapter but OnItemRemovedis never called

        adapter.swipeToRemoveItemOn(recyclerView)
                .withUndoAction()
                .notifyOnRemoved(item->
                    // Never called if several items are swipe quickly, only called for the last
                );
@miguelbcr miguelbcr added the bug label Sep 8, 2016
miguelbcr added a commit that referenced this issue Sep 8, 2016
…several_items_by_swiping

#10-Bug when removing several items by swiping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant