i have a listview with n number of list items. I want to implement drag and drop of items from one position to antother position in the list android?
Another implementation:
Here is our drag & drop list. Tt is a direct replacement for ListView and it's very easy to use.
https://github.com/terlici/DragNDropList
In August 2013 Google uploaded a very simple example with a video and the code.
Video: http://www.youtube.com/watch?v=_BZIvjMgH-Q code: http://developer.android.com/shareables/devbytes/ListViewDraggingAnimation.zip
Hope it helps.
Here is what you want a complete example for the Drag and Drop ListView
. Download it, built it and Enjoy!!!!!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With