页面切换时自动跳到RecyclerView位置的解决方案

问题:页面切换时为什么会自动跳到 recyclerView 的位置
解决方案如下:

<android.support.v7.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:layout_marginTop=“15dp”
android:overScrollMode=“never”/>

发布了13 篇原创文章 · 获赞 4 · 访问量 1382

猜你喜欢

转载自blog.csdn.net/weixin_44810052/article/details/92569107
今日推荐