Interface PlaneGestureListener

  • All Superinterfaces:
    android.view.GestureDetector.OnDoubleTapListener, android.view.GestureDetector.OnGestureListener
    All Known Implementing Classes:
    PlaneGestureAdapter

    public interface PlaneGestureListener
    extends android.view.GestureDetector.OnGestureListener, android.view.GestureDetector.OnDoubleTapListener
    The listener that is used to notify when gestures occur. If you want to listen for all the different gestures then implement this interface. If you only want to listen for a subset it might be easier to extend PlaneGestureAdapter.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onScrollEnded​(android.view.MotionEvent event1, android.view.MotionEvent event2)
      Notified when a scroll occurs with the initial on down MotionEvent and the last move MotionEvent.
      • Methods inherited from interface android.view.GestureDetector.OnDoubleTapListener

        onDoubleTap, onDoubleTapEvent, onSingleTapConfirmed
      • Methods inherited from interface android.view.GestureDetector.OnGestureListener

        onDown, onFling, onLongPress, onScroll, onShowPress, onSingleTapUp
    • Method Detail

      • onScrollEnded

        void onScrollEnded​(android.view.MotionEvent event1,
                           android.view.MotionEvent event2)
        Notified when a scroll occurs with the initial on down MotionEvent and the last move MotionEvent.
        Parameters:
        event1 - the first down motion event that started the scrolling
        event2 - the move motion event that triggered the last onScroll in the sequence