Package io.rong.imkit.picture.photoview

## Interface OnViewDragListener

- All Implemented Interfaces:

      public interface OnViewDragListener

  Interface definition for a callback to be invoked when the photo is experiencing a drag event

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract void` | `onDrag(float dx, float dy)` | Callback for when the photo is experiencing a drag event.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

  - ### 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-direction
        `dy` - The change of the coordinates in the y-direction