开发者

drag and drop of items in listview in android?

i have a listview with n number of list items. I want to implement drag and开发者_StackOverflow drop of items from one position to antother position in the list android?


Another implementation:

  • https://github.com/bauerca/drag-sort-listview


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!!!!!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜