title: How to properly load more items in a recyclerView, using Retrofit ? (kotlin)
body: <p>I'm really new to Android Dev, and I'm actually working on a personnal project in Kotlin, using retrofit to do the API calls.</p>
  
  <p>I've implemented <code>infiniteScroll</code> on the app, but the problem here is that when I hit the bottom of the page, my item gets replaced by the new items. </p>
  
  <p>I don't want that behavior, I would prefer that every items just stack one another without loosing the previous items.</p>
  
  <p>here in my fragment, is the function that I call to repopulate my view:</p>
  
  <pre><code>    private fun getPopularMovies(page: Int){
          val repository = MoviesRepositoryProvider.provideMovieRepository()
          repository.getPopularMovies(page)
              .observeOn(AndroidSchedulers.mainThread())
              .subscribeOn(Schedulers.io())
              .subscribe ({ result -&gt;
                  moviesAdapter = MovieAdapter(movies = result.results)
                  moviesList.adapter = moviesAdapter
              }, { error -&gt;
                  error.printStackTrace()
              })
      }
  </code></pre>