public static interface PhotoViewAttacher.OnPhotoTapListener
| 限定符和类型 | 方法和说明 |
|---|---|
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()