title: RecyclerView OnScrollListener() Issue
body: <p>I have around 32 records in json, I am using RecyclerView to show them and I have implemented OnScrollListener(...)</p>
  
  <p>Question</p>
  
  <p>I started an Activity, I fetched all 32 records, now when I do scroll, why I am again getting same 32 records again and again, whenever I do scroll, here is my implementation of OnScrollListener()</p>
  
  <pre><code>public void initializeOnScrollForRecyclerView() {
          mRecyclerView.addOnScrollListener(new RecyclerView.OnScrollListener() {
              @Override
              public void onScrolled(RecyclerView recyclerView, int dx, int dy) {
  
                  int visibleItemCount = recyclerView.getLayoutManager().getChildCount();
                  int totalItemCount = recyclerView.getLayoutManager().getItemCount();
                  int pastVisiblesItems = ((LinearLayoutManager) recyclerView.getLayoutManager()).findFirstVisibleItemPosition();
  
                  if (!isLoading) {
                      if ((visibleItemCount + pastVisiblesItems) &gt;= totalItemCount) {
                          isLoading = true;
                          mPostPresenter.loadPosts(false);
                      }
                  }
              }
          });
      }
  </code></pre>