Package io.rong.imkit.picture.photoview

## Interface OnPhotoTapListener

- All Implemented Interfaces:

      public interface OnPhotoTapListener

  A callback to be invoked when the Photo is tapped with a single tap.

- - ### 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` | `onPhotoTap(ImageView view, float x, float y)` | A callback to receive where the user taps on a photo.

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

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

- - ### Constructor Detail

  - ### Method Detail

    - #### onPhotoTap

           abstract void onPhotoTap(ImageView view, float x, float y)

      A callback to receive where the user taps on a photo. You will only receive a callback if the user taps on the actual photo, tapping on 'whitespace' will be ignored.

      Parameters:
        `view` - ImageView the user tapped.
        `x` - where the user tapped from the of the Drawable, as percentage of the Drawable width.
        `y` - where the user tapped from the top of the Drawable, as percentage of the Drawable height.