How to auto scroll RecyclerView
smoothly so that user can see all the elements of the RecyclerView and scroll again from the start - as in News Feed etc.
I know smoothScrollToPosition()
and scrollToPosition()
but they would just end up scrolling too fast to the last element.
I want the RecyclerView to be animated and move slowly.
Just to improve on the answer a little, it's auto scrolling infinity with smooth animation.
This is exactly your answer but if you link to more smooth animation then use LayoutManager
Control you animation changing MILLISECONDS_PER_INCH value.
After Trial And Errors This Works Perfect For Me
This Will Auto Scroll Your RecyclerView To The End, Wait For a Second
(So User Can Read Till End)
And Jumps/Scroll Back To First String In RecyclerView's Array List. If You Want To Auto Scroll in Posetive And Negative directionYou Just Need To Change The Condition Instead Of Using if(!flag) You Need To Set Value Of x in it
I think this is the best solution for this.