mLayoutManager.scrollToPositionWithOffset(mPosition, 0);
mLayoutManager.setStackFromEnd(true);
mRecyclerView.setLayoutManager(mLayoutManager);
RecycleView置顶滑动到指定位置
最新推荐文章于 2023-06-15 16:27:20 发布
mLayoutManager.scrollToPositionWithOffset(mPosition, 0);
mLayoutManager.setStackFromEnd(true);
mRecyclerView.setLayoutManager(mLayoutManager);