When using the SmoothScrollToPosition method of a RecyclerView, I would like it to scroll to the center rather than the side. Is there any easy built-in way to do this without manually calculating the size of the items? Thanks.
When using the SmoothScrollToPosition method of a RecyclerView, I would like it to scroll to the center rather than the side. Is there any easy built-in way to do this without manually calculating the size of the items? Thanks.
Hi @njsokalski If you want to scroll to center of items, I think mRecyclerView.SmoothScrollToPosition(items.count/2); is better way to do.
5 people are following this question.