0

I have a list of records in a listview that I want the user to be able to re-sort using a drag and drop method. I have seen this implemented in other apps, but I have not found a tutorial for it. It must be something that others need as well. Can anyone point me to some code for doing this? provide me full example

Ankit Chhabra
  • 73
  • 2
  • 10
  • 5
    Possible duplicate of [Android List View Drag and Drop sort](http://stackoverflow.com/questions/2909311/android-list-view-drag-and-drop-sort) – Harshad Pansuriya Jul 08 '16 at 06:29
  • Why don't you use RecyclerView? It has easy implementation of drag&drop – Marat Jul 08 '16 at 07:07
  • look at this question and its answer. You will solve your problem http://stackoverflow.com/questions/37915570/how-to-implement-dragdrop-in-listview – Marat Jul 08 '16 at 08:55

1 Answers1

2

Hi this is example of drag item in android list

https://github.com/woxblom/DragListView

Vijay Rajput
  • 1,091
  • 1
  • 13
  • 18