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
Asked
Active
Viewed 6,417 times
0
-
5Possible 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 Answers
2
Hi this is example of drag item in android list

Vijay Rajput
- 1,091
- 1
- 13
- 18
-
@Ironman but this link useful to developer so that i will wrote here – Vijay Rajput Jul 08 '16 at 06:31
-