how to set the position of the horizontal recycleview list item?

1

Good morning, I have a horizontal recycleview working correctly, but I want to make this effect from example , the items start almost in the middle of the recycleview and after rolling to the side it fills the whole space thus getting here I thought it would just be a padding-left, but it's not even margin, someone knows or how to search for this achievement, thank you.

I made a video of an app that has this effect to make it clearer link

    
asked by anonymous 01.09.2018 / 15:43

1 answer

0

You'll have to add Header to your Adapter , this Header will be the first item that will make your list get more right just like you want. This tutorial teaches you how to add a Header to your Recycler

    
01.09.2018 / 23:57