guxiuzhong
guxiuzhong
看下面这个解决了此问题 https://github.com/ta893115871/StickyNavLayout
看下面这个解决了此问题 https://github.com/ta893115871/StickyNavLayout
看下面这个解决了此问题 https://github.com/ta893115871/StickyNavLayout
private boolean isSticky;//mNav-view 是否悬停的标志 在dispatchTouchEvent方法里增加 case MotionEvent.ACTION_CANCEL: case MotionEvent.ACTION_UP://处理悬停后立刻抬起的处理 float distance = y - mLastY; if(isSticky && /_distance==0.0f_/Math.abs(distance) 0 && !isInControl) { isInControl = true; ev.setAction(MotionEvent.ACTION_CANCEL); MotionEvent ev2 = MotionEvent.obtain(ev);...
看下面这个解决了此问题 https://github.com/ta893115871/StickyNavLayout
看下面这个解决了此问题 https://github.com/ta893115871/StickyNavLayout
看下面这个解决了此问题 https://github.com/ta893115871/StickyNavLayout