-
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(View view, float x, float y)A callback to receive where the user taps on a photo. -
-
Method Detail
-
onPhotoTap
abstract void onPhotoTap(View view, float x, float y)
A callback to receive where the user taps on a photo. You will only receive a callback ifthe 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 theDrawable width.y- where the user tapped from the top of the Drawable, as percentage of theDrawable height.
-
-
-
-