会有滑动冲突,因为两个都是滑动控件。解决方案:
在viewPager的onTouch中处理
增加getParent().requestDisallowInterceptTouchEvent(true);
意思就是告诉父容器,不要处理Touch事件。