Method1:
recyclerView.setNestedScrollingEnabled(false);
Method2:
重写ScrollView
@Overridepublic boolean onInterceptTouchEvent(MotionEvent e) {
switch(e.getAction()){
case MotionEvent.ACTION_DOWN:
return super.onInterceptTouchEvent(e);
case MotionEvent.ACTION_UP:
return super.onInterceptTouchEvent(e);
default:
return false;
}
}