Class WeatherDetailsActivity.SwipeGestureDetector
- java.lang.Object
-
- de.kaffeemitkoffein.tinyweatherforecastgermany.WeatherDetailsActivity.SwipeGestureDetector
-
- Enclosing class:
- WeatherDetailsActivity
public static class WeatherDetailsActivity.SwipeGestureDetector extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SwipeGestureDetector()
-
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)
-
-
-
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)
-
-