Package 

Interface OnViewTapListener

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onViewTap(View view, Float x, Float y) A callback to receive where the user taps on a ImageView.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onViewTap

         abstract Unit onViewTap(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.

        Parameters:
        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.