Package io.rong.imkit.picture.photoview
Interface OnPhotoTapListener
-
- All Implemented Interfaces:
public interface OnPhotoTapListenerA callback to be invoked when the Photo is tapped with a single tap.
-
-
Method Summary
Modifier and Type Method Description abstract voidonPhotoTap(ImageView view, float x, float y)A callback to receive where the user taps on a photo. -
-
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.
-
-
-
-