一个页面需要嵌套多个RecyclerView,页面会遇到卡顿问题,解决办法:
1,xml中 ,RecyclerView设置 android:nestedScrollingEnabled=“false”
2,代码中,recyclerView.setNestedScrollingEnabled(false)
一个页面需要嵌套多个RecyclerView,页面会遇到卡顿问题,解决办法:
1,xml中 ,RecyclerView设置 android:nestedScrollingEnabled=“false”
2,代码中,recyclerView.setNestedScrollingEnabled(false)
本文标题:NestedScrollView内嵌多个RecyclerView
本文链接:https://www.haomeiwen.com/subject/zujxuctx.html
网友评论