Created
April 2, 2014 07:32
-
-
Save gokhanbarisaker/9929509 to your computer and use it in GitHub Desktop.
Android Activity onStop from 4.4.2-rc1 KitKat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Called when you are no longer visible to the user. You will next | |
* receive either {@link #onRestart}, {@link #onDestroy}, or nothing, | |
* depending on later user activity. | |
* | |
* <p>Note that this method may never be called, in low memory situations | |
* where the system does not have enough memory to keep your activity's | |
* process running after its {@link #onPause} method is called. | |
* | |
* <p><em>Derived classes must call through to the super class's | |
* implementation of this method. If they do not, an exception will be | |
* thrown.</em></p> | |
* | |
* @see #onRestart | |
* @see #onResume | |
* @see #onSaveInstanceState | |
* @see #onDestroy | |
*/ | |
protected void onStop() { | |
if (DEBUG_LIFECYCLE) Slog.v(TAG, "onStop " + this); | |
if (mActionBar != null) mActionBar.setShowHideAnimationEnabled(false); | |
getApplication().dispatchActivityStopped(this); | |
mTranslucentCallback = null; | |
mCalled = true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment