Happo
Happo

Reputation: 1397

Drag&Drop to put Items from List1 to List2

I search for a good and handy user interface to put items from list 1 to a empty list 2 with drag&drop. I need this function for Android 2.2.

Have anybody heard about this feature?

EDIT
I found this website and i think it is also interesting.
http://techdroid.kbeanie.com/2010/04/simple-drag-n-drop-on-android.html
Look also at the comments.

Upvotes: 5

Views: 219

Answers (2)

user647826
user647826

Reputation:

  1. It may also be helpful to reference my simple Drag and Drop list. You can find here

  2. if u don't getting then use this

    An example of this in github https://github.com/mtparet/Drag-And-Drop-Android

    It could help you.All contribution are welcome

  3. Take a look at this sample that Drag and drop inside a List View..

Upvotes: 8

Rajdeep Dua
Rajdeep Dua

Reputation: 11230

Refer to the drag and drop API launched in API Version 11 http://developer.android.com/guide/topics/ui/drag-drop.html

A drag and drop operation starts when the user makes some gesture that you recognize as a signal to start dragging data. In response, your application tells the system that the drag is starting. The system calls back to your application to get a representation of the data being dragged. As the user's finger moves this representation (a "drag shadow") over the current layout, the system sends drag events to the drag event listener objects and drag event callback methods associated with the View objects in the layout. Once the user releases the drag shadow, the system ends the drag operation.

Upvotes: 0

Related Questions