Android重新排序ListView项目,拖放 [英] Android Reordering ListView items with drag and drop

查看:231
本文介绍了Android重新排序ListView项目,拖放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有自定义的ListView,其中包含一个TextView用于显示文本的自定义布局和另一个ImageView,用于长时间拖放以重新排序ListView项目,如下图所示。请帮助我!

I have custom ListView with custom Layout consisting of one TextView for display text and another ImageView for long pressing to drag and drop for reordering ListView items like image below.Please help me!

推荐答案

这是一个很好的图书馆DSLV。
非常顺利,工作正常。

Here is a nice library DSLV. very smooth and fine working.

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

这篇关于Android重新排序ListView项目,拖放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆