public static interface PhotoViewAttacher.OnSingleFlingListener
| Modifier and Type | Method and Description |
|---|---|
boolean |
onFling(android.view.MotionEvent e1,
android.view.MotionEvent e2,
float velocityX,
float velocityY)
A callback to receive where the user flings on a ImageView.
|
boolean onFling(android.view.MotionEvent e1,
android.view.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.