@Override
 public void onPause() {
   super.onPause();
   // In the case onPause() is called during a fling the image loader is un-paused to let any
   // remaining background work complete.
   mImageLoader.setPauseWork(false);
 }
Ejemplo n.º 2
0
 @Override
 public void onPause() {
   super.onPause();
   if (statusObserver != null) {
     getActivity().getContentResolver().unregisterContentObserver(statusObserver);
   }
 }
 @Override
 public void onPause() {
   super.onPause();
   if (DEBUG) {
     Log.v(LOG_TAG, "onPause():");
   }
   ((MainActivity) getActivity()).hideSearchMenuItem();
   mRequestQueue.cancelAll(REQUEST_TAG);
 }
Ejemplo n.º 4
0
  @Override
  public void onPause() {
    super.onPause();

    AndroidUtilities.tryUnregisterReceiver(getActivity(), detailReceiver);
    AndroidUtilities.tryUnregisterReceiver(getActivity(), refreshReceiver);
    syncActionHelper.unregister();

    backgroundTimer.cancel();
  }
 @Override
 public void onPause() {
   super.onPause();
   Log.d(TAG, "onPause()");
   // Cancel request for notifications if there was any
   if (mRequestHandle != null) {
     Thread thread =
         new Thread(
             new Runnable() {
               @Override
               public void run() {
                 mRequestHandle.cancel(true);
               }
             });
     thread.start();
   }
 }
Ejemplo n.º 6
0
  @Override
  public void onPause() {
    super.onPause();

    getActivity().unregisterReceiver(this.mBroadcastReceiver);
  }
Ejemplo n.º 7
0
 @Override
 public void onPause() {
   super.onPause();
   EventBus.getDefault().unregister(this);
 }
Ejemplo n.º 8
0
  @Override
  public void onPause() {
    super.onPause();

    mUiHelper.onPause();
  }
 @Override
 public void onPause() {
   super.onPause();
   PersonHelper.get(getActivity()).savePersonList();
 }
 @Override
 public void onPause() {
   super.onPause();
   FoodLab.get(getActivity()).saveFoods();
 }
 @Override
 public void onPause() {
   super.onPause();
   getPlayersFromActivity.getPlayerFromActivity(player1, player2, countOk);
 }
 @Override
 public void onPause() {
   super.onPause();
   BusProvider.getInstance().unregister(this);
 }
 @Override
 public void onPause() {
   super.onPause();
   mMessageQueueHandler.removeCallbacks(mRefreshSessionsRunnable);
   getActivity().getContentResolver().unregisterContentObserver(mSessionChangesObserver);
 }
Ejemplo n.º 14
0
 @Override
 public void onPause() {
   datasource.close();
   super.onPause();
 }