mrKlar / PagedDragDropGrid

An Android ViewGroup that implements a paged grid with drag'n'drop moveable items
406 stars 185 forks source link

My Implementation to move items instead of swap #55

Open nyahahawakoko opened 10 years ago

nyahahawakoko commented 10 years ago

I have only updated the DragDropGrid.java and added my modifications. I used the Item.java object in identifying page items. It's quite messy but I've added some comments.

I updated the animateGap(); method and added rearrangePageItems(); This is just a brute force implementation.

https://github.com/nyahahawakoko/PagedDragDropGrid/commit/84fd357618ddb74917cd4a0064b1599fdcd1de68