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

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

问题描述

我定制的ListView自定义布局包含一个TextView中显示的文本,另一个ImageView的长期pressing的拖放重新排序的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天全站免登陆