android - How to show fixed number of items of rows in a recyclerview -


i'm trying menu footer have 10 button , can horizontalscroll.

so use recyclerview that. want footer default show first 5 items in screen screen size , user can scroll this.

so have question

  1. how show fixed number of items of rows in recyclerview ?

  2. how set distance of 2 items in list recyclerview ?

thanks read.


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -