@Override public void onPause() { super.onPause(); // deactivate monitor if (syncStatusReceiver != null) { syncStatusReceiver.stopMonitoring(); } // deactivate any progress bar if (pullToRefreshAttacher != null) { pullToRefreshAttacher.setRefreshComplete(); } // Pause sync monitors OrgSyncService.pause(this); }
@Override public void loadFinish() { helper.setRefreshComplete(); }