Hi I want to display index at top of recyclerview it when scrollin to it I tried
Recyclerview.scrolltoPosition(index)
Recyclerview.smoothscrollToPosition(index)
Layoutmanager.scrolltoPosition(index)
even used custom layoutManager and no change .