public interface OnSingleFlingListener
boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)
e1
- MotionEvent the user first touch.e2
- MotionEvent the user last touch.velocityX
- distance of user's horizontal fling.velocityY
- distance of user's vertical fling.