This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private boolean loading = true; | |
int pastVisiblesItems, visibleItemCount, totalItemCount; | |
mRecyclerView.addOnScrollListener(new RecyclerView.OnScrollListener() | |
{ | |
@Override | |
public void onScrolled(RecyclerView recyclerView, int dx, int dy) | |
{ | |
if(dy > 0) //check for scroll down | |
{ |