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

Swipe to delete: add leave-behind to indicate action #169

Closed
korelstar opened this issue Jan 21, 2017 · 0 comments
Closed

Swipe to delete: add leave-behind to indicate action #169

korelstar opened this issue Jan 21, 2017 · 0 comments
Milestone

Comments

@korelstar
Copy link
Member

korelstar commented Jan 21, 2017

I'm not getting warm with the swipe to delete functionality. It's nice if you are often deleting many items. But does this apply to notes?

However, if this functionality has to keep there, a leave-behind should be added:

A leave-behind is an informative hint as to what swiping a list item away will do to that item. The leave-behind can transform into an action.

Swiping on a list item from either direction will reveal an icon indicating the action. After swiping, a follow-up action can appear as a text button within the space of the list item.

Edit: some hints for the technical realization:
http://stackoverflow.com/questions/32227482/recyclerview-swipe-with-a-view-below-it
http://nemanjakovacevic.net/blog/english/2016/01/12/recyclerview-swipe-to-delete-no-3rd-party-lib-necessary/
Examples: https://github.com/nemanja-kovacevic/recycler-view-swipe-to-delete
Edit: Most easiest implementation: https://lou78.github.io/2016/10/17/recyclerview-swipe/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant