public class OnSwipeTouchListener
extends java.lang.Object
implements android.view.View.OnTouchListener
构造器和说明 |
---|
OnSwipeTouchListener() |
限定符和类型 | 方法和说明 |
---|---|
void |
onSwipeBottom() |
void |
onSwipeLeft() |
void |
onSwipeRight() |
void |
onSwipeTop() |
void |
onTouch(android.view.MotionEvent e) |
boolean |
onTouch(android.view.View v,
android.view.MotionEvent event) |
public boolean onTouch(android.view.View v, android.view.MotionEvent event)
onTouch
在接口中 android.view.View.OnTouchListener
public void onTouch(android.view.MotionEvent e)
public void onSwipeRight()
public void onSwipeLeft()
public void onSwipeTop()
public void onSwipeBottom()