Class WeatherDetailsActivity.SwipeGestureDetector

  • Enclosing class:
    WeatherDetailsActivity

    public static class WeatherDetailsActivity.SwipeGestureDetector
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean onDownSwipe​(View view, MotionEvent motionEvent)  
      boolean onLeftSwipe​(View view, MotionEvent motionEvent)  
      boolean onRightSwipe​(View view, MotionEvent motionEvent)  
      boolean onTouch​(View view, MotionEvent motionEvent)  
      boolean onUpSwipe​(View view, MotionEvent motionEvent)  
      void setThreshold​(int i)  
      • Methods inherited from class java.lang.Object

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

      • SwipeGestureDetector

        public SwipeGestureDetector()
    • Method Detail

      • setThreshold

        public void setThreshold​(int i)
      • onLeftSwipe

        public boolean onLeftSwipe​(View view,
                                   MotionEvent motionEvent)
      • onRightSwipe

        public boolean onRightSwipe​(View view,
                                    MotionEvent motionEvent)
      • onUpSwipe

        public boolean onUpSwipe​(View view,
                                 MotionEvent motionEvent)
      • onDownSwipe

        public boolean onDownSwipe​(View view,
                                   MotionEvent motionEvent)
      • onTouch

        public boolean onTouch​(View view,
                               MotionEvent motionEvent)