Interface OnViewTapListener

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void 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
    • Constructor Detail

    • Method Detail

      • onViewTap

         abstract void 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.