mPaintSurface.setOnTouchListener(mPaintSurface);mPaintSurface.setOnTouchListener(new OnTouchListenerPaintSurface
public class PaintSurface extends SurfaceView implements Runnable, OnTouchListener{
W/OnTouchListener: we recorded a change! 0 has moved.1W/OnTouchListener: we recorded a change!W/OnTouchListener: we recorded a change! 0 has moved.
W/OnTouchListener: we recor
我有这样的代码,应该在我的一项活动中捕捉到这些滑动事件:static final int MIN_DISTANCE = 150;public boolean onTouchEvent(MotionEvent event) switch(event.getAction()) case MotionEvent.ACTION_DOWN: break;
case MotionEvent.ACTIO