Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mRecyclerView.addOnScrollListener(new RecyclerView.OnScrollListener() {
- @Override
- public void onScrolled(RecyclerView recyclerView, int dx, int dy) {
- super.onScrolled(recyclerView, dx, dy);
- if (!recyclerView.canScrollVertically(1)) {
- pagenum++;
- updateItems();
- }
- }
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement