Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Gridview drag and drop example [duplicate]

Tags:

android

Possible Duplicate:
Android GridView reorder elements via Drag and Drop

Can anyone give me some link from where I can learn Drag and Drop inside Android GridView.

like image 468
Bhabani Shankar Avatar asked Sep 09 '11 17:09

Bhabani Shankar


2 Answers

For drag and drop icons in grid view,

you can refer following tutorial...

It is very helpful for it.

Drag-Drop for an Android GridView

like image 61
Chirag_CID Avatar answered Nov 09 '22 03:11

Chirag_CID


A little late to the party, here, but you might be able to use a library I wrote for android called DraggableGridView:

https://github.com/thquinn/DraggableGridView

It's an extension of ViewGroup. Long click to drag, includes animation, etc.

like image 4
Tom Quinn Avatar answered Nov 09 '22 05:11

Tom Quinn