onPageChanged method

void onPageChanged(
  1. int page,
  2. int count
)

Implementation

void onPageChanged(int page, int count) {
  if (mutable.lastState.hasMore && page == count - 1) {
    mutable.loadingPage = true;
    loadPage();
  }
}