Currently I'm working on a recycler view that has a horizontal scroll.
I have a list that contains these values:
{"2001","2002","2003","2004","2005","2006","2007","2008","2009","2010",...}
and so on, until 2017
My objective here is to select the year on the center
All works good but I have 2 problems here :
I can't scroll to the right edge, it's like the recyclerview has its limit on scrolling. Let's say the 4 last items are
"2014", "2015", "2016", "2017"
. I can only scroll until "2003". For now i fix this issue by adding a dummy years before and after the list. (very hackish, but not so solid)I want to show the first child when the scrolling reaches the end. For example, when I'm able to scroll until the end 2017 , I want to show the first item of the list right next to 2017 and in this case is "2001". For example: 2013 | 2014 | 2015 | 2016 | 2017 | 2001 | ...