问题描述
你好,我叫Raynast我是一个新手为Android编程现在,我已经从我的项目约列表视图拖放
Hi I'm Raynast I'm a newbie for Android ProgrammingNow I have a little problem from my project about Listview Drag and Drop
我决定从数据库布局三列表视图查询
I decide layout to Three Listview query from database
_________________________
|list_1 |list_2 |list_3 |
|_______|_______|_______|
|_______|_______|_______|
|| ||| ||| ||
||item1|||item5|||item8||
||_____|||_____|||_____||
|_______|_______|_______|
|| ||| ||| ||
||item2|||item6|||item9||
||_____|||_____|||_____||
|_______|_______| |
|| ||| || |
||item3|||item7|| |
||_____|||_____|| |
|_______| | |
|| || | |
||item4|| | |
||_____|| | |
|_______|_______|_______|
我用android平台2.3.1
I use android platform 2.3.1
我想拖ITEM1从ListView1的到liewview2或liewview3和ListViewItem的的下降
I want to Drag item1 from Listview1 to liewview2 or liewview3and drop between listviewitem
我努力研究解决方案来解决这个问题,但我没有发现!
I try to research solution to resolve this problem but I'm not found!
的意见: MotionEvent有无action_up ACTION_DOWN没有action_right,左
Observations : MotionEvent have action_up action_down don't have action_right,left
我想知道解决方案来解决这个问题如果不能告诉我,或建议另一种方法,使本次活动,请
I want to know solution to resolve this problemIf it not possible tell me or propose another method to make this activity please
感谢提前
您回应将是我和另外一个
Your response will be very useful for me and another one
推荐答案
您好:我开发的这种在GitHub上的一个例子的
Hello I'm developing an example of this in github https://github.com/mtparet/Drag-And-Drop-Android
这可以帮助你。
所有的贡献都是欢迎的。
All contribution are welcome
这篇关于如何拖放ListView项到另一个列表视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!