示例#1
0
 @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);
 }
示例#2
0
 @Override
 public void loadFinish() {
   helper.setRefreshComplete();
 }