/**
  * Refresh hook, to override for custom behavior
  *
  * <p>When overriding it, call {@code super.refresh()} as last statement to make sure that the
  * {@link PageProviderChangedListener} is called with the up-to-date @{code PageProvider} state.
  */
 public void refresh() {
   setResultsCount(UNKNOWN_SIZE);
   setCurrentHigherNonEmptyPageIndex(-1);
   currentSelectPage = null;
   errorMessage = null;
   error = null;
   notifyRefresh();
 }
 public void setResultsCount(long resultsCount) {
   this.resultsCount = resultsCount;
   setCurrentHigherNonEmptyPageIndex(-1);
 }