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 - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -