1

Android: drag end drop in grid view (android 4.0 +)

view story
linux-howto

http://stackoverflow.com – In my app I have a screen with grid view, where I displayed photos, in 2 columns. I want to add possibility to reorder photos by drag end drop. I have android 4.0, and I used android native drag and drop: http://developer.android.com/guide/topics/ui/drag-drop.html So, I already add drag&drop functionality, but the problem is, that I need to scroll grid view when user trying to drag top image to the bottom. That's not a problem to scroll gridView programatically with smoothSctollTo() method, but when i drag item I need to check whether finger at the bottom of the screen or not. The proble (HowTos)