Package io.rong.imkit.picture.photoview
Interface OnViewDragListener
-
- All Implemented Interfaces:
public interface OnViewDragListenerInterface definition for a callback to be invoked when the photo is experiencing a drag event
-
-
Method Summary
Modifier and Type Method Description abstract voidonDrag(float dx, float dy)Callback for when the photo is experiencing a drag event. -
-
Method Detail
-
onDrag
abstract void onDrag(float dx, float dy)
Callback for when the photo is experiencing a drag event. This cannot be invoked when the user is scaling.
- Parameters:
dx- The change of the coordinates in the x-directiondy- The change of the coordinates in the y-direction
-
-
-
-