public interface OnPhotoTapListener
限定符和类型 | 方法和说明 |
---|---|
void |
onPhotoTap(android.widget.ImageView view,
float x,
float y)
A callback to receive where the user taps on a photo.
|
void onPhotoTap(android.widget.ImageView view, float x, float y)
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.