接口 OnViewTapListener
-
public interface OnViewTapListenerInterface definition for a callback to be invoked when the ImageView is tapped with a single tap.
-
-
方法详细资料
-
onViewTap
void onViewTap(android.view.View view, float x, float y)A callback to receive where the user taps on a ImageView. You will receive a callback if the user taps anywhere on the view, tapping on 'whitespace' will not be ignored.- 参数:
view- - View the user tapped.x- - where the user tapped from the left of the View.y- - where the user tapped from the top of the View.
-
-