title: Pagination in RecyclerView
body: <p>I am trying you apply infinite scroll in my app. I use recyclerViews, loaders(data from API) and onScrollListener. </p>
  
  <p>Now everything works fine. Even when I scroll and the threshold is reached the data is loaded by the loader, data object is created, sent to the updateDataset function in the adapter class and added to the list there. The only thing that is not happening(and ofc only thing that matters) is that the new items are not added to the list.<br>
  Following is my update function 
  <a href="https://i.stack.imgur.com/Pu9I8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Pu9I8.png" alt="this is the update function inside the adapter, which is called onLoadFinished loader callback"></a></p>
  
  <p>Please help me fix this, why is notifyItemRangeInserted not working here and adding items to the list</p>