开发者

Rearrange list by drag and drop in Android

开发者 https://www.devze.com 2023-04-03 05:08 出处:网络
How can I create a list where I can rearrange list items with dragging l开发者_Go百科ist rows to another row and so on (to change to order)?

How can I create a list where I can rearrange list items with dragging l开发者_Go百科ist rows to another row and so on (to change to order)?

I saw some reference link (https://android.googlesource.com/platform/packages/apps/Music/+/master/src/com/android/music/TouchInterceptor.java) in some previous posts. But it is not working.


You can use this link

And by default project code will compile in JDK 1.4.

So change it from 1.4 to 1.5

0

精彩评论

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