LinearLayoutManager layoutManager = new LinearLayoutManager(getActivity()); layoutManager.setSmoothScrollbarEnabled(true); layoutManager.setAutoMeasureEnabled(true); mRecyclerView.setLayoutManager(layoutManager); mRecyclerView.setAdapter(mAdapter); mRecyclerView.setHasFixedSize(true); mRecyclerView.setNestedScrollingEnabled(false);
ScrollView嵌套RecyclerView 滚动不流畅问题解决
最新推荐文章于 2024-07-15 22:07:50 发布