I could not find exactly what you are looking for, but I would try using the Gallery onScroll method:
public boolean onScroll
(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY)
Last call onScroll, e2.getAction() should be equalMotionEvent.ACTION_UP
source
share