Material selection for Android

As mentioned in this link

Gestures:

  • When initiating a selection, both a long press and two finger presses can be expanded using the drag gesture to select multiple items. Image elements between the start and end points of resistance will be included in the
    selection.
  • On the desktop, dragging beyond all items can trigger a multi-screen selection (for example, starting dragging the
    edge of the list to the left and extending down and right to select the list of
    items).

We can use drag and drop to select multiple items. I want to do the same with RecyclerView.

How can i do this? Can you give me a detailed example of this.

+4
source share

Source: https://habr.com/ru/post/1611586/


All Articles