Home » » Drag and drop an item from one recyclerview (listview) into another recyclerview (listview)

Drag and drop an item from one recyclerview (listview) into another recyclerview (listview)

Questions:
I have a requirement that need to drag an item from one recyclerview into another recyclerview.
I found some some of the useful resource as with the help of ItemTouchHelper
Also find a library to drag and drop in android here.
While implementation, am able to drag the item view along with the pointer(finger) on the screen, but not able success to achieve my requirement.
Please share me if you have any previous experience on this.

Answers:
For multiple list view drag and drop you can refer this https://github.com/woxblom/DragListView
Features
  • Re-order items in a list, grid or board by dragging and dropping with nice animations.
  • Add custom animations when the drag is starting and ending.
  • Get a callback when a drag is started and ended with the position.
  • Disable and enable drag and drop
Simple implementation of Drag and Drop in RecyclerView is given below

2 nhận xét:

Popular Posts

Powered by Blogger.