How to drag and drop views in Android tablet app?

I want to show a dashboard like interface in my Android tablet app where the user can drag and drop listviews using touch. Is there a library that i can use to give d&d to my app?

Answers


For android 3.0 and up, which is usually in all Android tablets. You can use this: http://developer.android.com/guide/topics/ui/drag-drop.html

You do not necessarily need a library to give the drag and drop functionality. It is already in Android 3.0 and up. If you want the code, the best way is to write it yourself as it will suit you to what you want. To learn about it, look at several examples and read them. It is pretty simple and acts much like OnTouchListener and MotionEvent.


Need Your Help

Laravel 5 - Remove the less style sheets included in the template

php laravel laravel-5

How can I remove or disable the less files from getting loaded into my views. I am using custom stylesheets and the less styles which comes with the default laravel package (resources\assets\less\

AutoMapper mapping using interface vs concrete map

c# interface automapper automapper-2

I don't think this is possible, but it's worth the question, I suppose.