Closed LoveqLRC closed 6 years ago
I use the mLayoutManager.scrollToPositionWithOffset(1, 0); method,but the snap effect not work well.
mLayoutManager.scrollToPositionWithOffset(1, 0);
Seems like these work fine with snap:
recyclerView.smoothScrollBy(400,0) recyclerView.smoothScrollToPosition(6);
Thanks for your answer. I solved this problem in another way.
I use the
mLayoutManager.scrollToPositionWithOffset(1, 0);
method,but the snap effect not work well.