@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(); }
@Override public void onStop() { super.onStop(); // The rest of your onStop() code. EasyTracker.getInstance(this).activityStop(this); // Add this method. }
@Override public void onStop() { super.onStop(); }
@Override public void onStop() { super.onStop(); RequestManager.cancelAll(BaseFragmentActivity.this); }
@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. }
@Override public void onStop() { tracker.dispatch(); super.onStop(); }
@Override public void onStop() { disablePush(); super.onStop(); }