I want to implement an endless RecyclerView but so far all the implementations and tutorials I have come across describe loading data off a server then loading it or dynamically adding elements using a loop.
In my case, I already have a large ArrayList containing the data I want to display in the RecyclerView.
What I need is to say, display the first 10 items of the array, and on loading more, display the next batch of 10.
try using this class it help me alot :
reference :
Try using:
You can use this Endless Adapter
You can check also the sample for more info
This could achieve your goal.
And sample activity
Edit: See here: Endless Scrolling with AdapterViews