Я использую менеджер горизонтальной компоновки для моего RecyclerView
. Мне нужно сделать RecyclerView
следующим образом: при нажатии на какой-либо элемент - установите smoothScrool в эту позицию и поместите этот элемент в центр RecyclerView
(если это возможно, например, 10 элементов из 20).
Итак, у меня нет проблем с smoothScrollToPosition()
, но как поместить элемент, чем в центре RecyclerView
???
Спасибо!