文章目录 初步了解MotionEventonTouchListener的return获取位置滑动事件和VelocityTracker 速度跟踪 初步了解MotionEvent public static final int ACTION_DOWN = 0;单点触摸动作public static final int ACTION_UP = 1;单点触摸离开动作public sta
lint检查会报警告信息:(onTouchListener warning: onTouch should call View#performClick when a click is detected)–>onTouch在不执行touch时候应该断掉view的touch事件 错误使用: findViewById(R.id.fl_container).setOnTouchListener(ne