public static interface PhotoViewAttacher.OnPhotoTapListener
| Modifier and Type | Method and Description |
|---|---|
void |
onOutsidePhotoTap()
A simple callback where out of photo happened;
|
void |
onPhotoTap(android.view.View view,
float x,
float y)
A callback to receive where the user taps on a photo.
|
void onPhotoTap(android.view.View view,
float x,
float y)
view - - View 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.void onOutsidePhotoTap()