onDrag

public 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-direction

dy

The change of the coordinates in the y-direction