Android-ItemTouchHelper-Demo icon indicating copy to clipboard operation
Android-ItemTouchHelper-Demo copied to clipboard

Able to drag (not drop) outside of Recyclerview or add DragShadow

Open JKorsten opened this issue 6 years ago • 0 comments

Hey Paul,

Great demo (although it doesn't compile for me, I could use the classes and get it to work in my app). But I have a question. Is it possible to see the selected item (the one which you are dragging) also outside the RecyclerView. I don't want to drop it there but it is possible that with dragging I will pass my recyclerview bounds and then the item will be cut off or even become invisible.

Is this possible using the ItemTouchHandler or should I do this in another way?

Another solution can be to use a DrawShadow which can be moved around the screen and use the ItemTouchHandler to do the reordering.

Kind regards,

JKorsten

JKorsten avatar Oct 08 '19 10:10 JKorsten