@Override
  public void onReportStatus(
      boolean screenVisible,
      boolean screenEmpty,
      boolean screenProgress,
      boolean progressIndicator,
      AUSyncerStatus lastStatus) {
    mEmptyView.setVisibility(screenEmpty ? View.VISIBLE : View.GONE);
    mProgressBar.setVisibility(screenProgress ? View.VISIBLE : View.GONE);

    mErrorReporter.onReportStatus(
        progressIndicator, progressIndicator, progressIndicator, progressIndicator, lastStatus);

    if (mProgressIndicator != progressIndicator) {
      this.mProgressIndicator = progressIndicator;
      getActivity().invalidateOptionsMenu();
    }
  }
 @Override
 public void onActivityResult(int requestCode, int resultCode, Intent data) {
   super.onActivityResult(requestCode, resultCode, data);
   mErrorReporter.onActivityResult(requestCode, resultCode, data);
 }