Beispiel #1
0
  @Override
  public void onStop() {
    super.onStop();

    SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(this);
    sp.edit().putInt("last_page", pager.getCurrentItem()).commit();
  }
 @Override
 public void onStop() {
   super.onStop();
   SharedPreferences sets = getSharedPreferences(PREFS_NAME, 0);
   SharedPreferences.Editor editor = sets.edit();
   editor.putInt("Favorit", favorit);
   editor.putLong("Update", timeupdate);
   editor.commit();
 }
 @Override
 protected void onStop() {
   // cancel running task
   // disable cancel so the task can run in background
   //		if(task != null) {
   //			if(!(task.getStatus() == Status.FINISHED)) {
   //				task.cancel(true);
   //				Log.d(TAG, "Stopping running task.");
   //			}
   //		}
   //		if(downloadTask != null) {
   //			if(!(downloadTask.getStatus() == Status.FINISHED)) {
   //				downloadTask.cancel(true);
   //				Log.d(TAG, "Stopping running download task.");
   //			}
   //		}
   super.onStop();
 }
Beispiel #4
0
 @Override
 public void onStop() {
   super.onStop();
   // The rest of your onStop() code.
   EasyTracker.getInstance(this).activityStop(this); // Add this method.
 }
Beispiel #5
0
 @Override
 public void onStop() {
   super.onStop();
 }
 @Override
 public void onStop() {
   super.onStop();
   RequestManager.cancelAll(BaseFragmentActivity.this);
 }
Beispiel #7
0
 @Override
 protected void onStop() {
   super.onStop();
   isActive = false;
 }
 @Override
 public void onStop() {
   super.onStop();
   havePromptedForPassphrase = false;
   registerPassphraseActivityStopped();
 }
 @Override
 public void onStop() {
   super.onStop();
   EasyTracker.getInstance().activityStop(this); // Add this method.
 }
Beispiel #10
0
 @Override
 public void onStop() {
   tracker.dispatch();
   super.onStop();
 }
 @Override
 public void onStop() {
   disablePush();
   super.onStop();
 }