Skip to content

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

Description

@korelstar

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/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions