0

I'm attempting to build a file manager containing a simple gridView which can be dragged and dropped - as well as the ability to rename each folder.

The closest I've been able to find thus far is this example:

http://blahti.wordpress.com/2012/03/03/improved-drag-drop-for-gridview/

However I am unable to figure out how to add a textView which can be dragged and dropped in addition to the tiles in the example.

Thus far I have tried this:

Android / Java - Add textView to Drag-Drop GridView Tutorial / Example

However I am wondering if anyone has seen an example of how this can be accomplished.

I imagine a drag and drop gridview with a textView would be a common implementation for either a file manager or a custom launcher - so I am surprised I have not been able to find any examples.

Thanks in advance!

Community
  • 1
  • 1
user3123280
  • 27
  • 1
  • 4
  • 12

2 Answers2

1

try this lib and it have sample project also

https://github.com/thquinn/DraggableGridView

Hardik
  • 17,179
  • 2
  • 35
  • 40
  • Thanks! That was very helpful! Also - if you have a minute... (and would like an easy answer) I have a question related to the resource you provided. http://stackoverflow.com/questions/20964584/replacing-bitmap-with-drawable-in-drag-and-drop-example – user3123280 Jan 07 '14 at 05:32
0

I was trying to use the same library but i needed some more Customization. I have a nice start for a RecyclerView with a gridlayout view. Check it out on https://github.com/everlutions/recycler-drag-n-drop-example. It's my first github example so comments are more than welcome ^^.

EvertvdBraak
  • 1,033
  • 1
  • 12
  • 20