I noticed that in this function there is no gap after Action_down, then the code can work in ACTION_MOVE, is this correct?
@Override public boolean onInterceptTouchEvent(MotionEvent ev) { ensureTarget(); final int action = MotionEventCompat.getActionMasked(ev); if (mReturningToStart && action == MotionEvent.ACTION_DOWN) { mReturningToStart = false; } if (!isEnabled() || mReturningToStart || canChildScrollUp() || mRefreshing) {
I donβt know why to treat ACTION_DOWN and then directly access ACTION_MOVE, is this correct? thanks in advance.
source share