<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="match_parent" android:layout_height="match_parent"><android.support.v4.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"><LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"><android.support.v7.widget.RecyclerView android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/miaosha"> </android.support.v7.widget.RecyclerView> </LinearLayout></android.support.v4.widget.NestedScrollView>
</ScrollView>
miaosha.setNestedScrollingEnabled(false);
ScrollView+RecyclerView优雅的解决滑动冲突问题
最新推荐文章于 2021-08-28 23:31:31 发布