在切换Fragment页面时,发现RecyclerView会自动滚动,解决方法:
在RecyclerView的父控件上加入:
android:focusable="true"
android:focusableInTouchMode="true"
在切换Fragment页面时,发现RecyclerView会自动滚动,解决方法:
在RecyclerView的父控件上加入:
android:focusable="true"
android:focusableInTouchMode="true"