Created
October 4, 2016 11:54
-
-
Save oscarb/f45be6c3970b636d647d7d249be3b82f to your computer and use it in GitHub Desktop.
Log Android activity cycle
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
public void onStart() | |
{ | |
super.onStart(); | |
Log.d(TAG, "In the onStart() event"); | |
} | |
public void onRestart() | |
{ | |
super.onRestart(); | |
Log.d(TAG, "In the onRestart() event"); | |
} | |
public void onResume() | |
{ | |
super.onResume(); | |
Log.d(TAG, "In the onResume() event"); | |
} | |
public void onPause() | |
{ | |
super.onPause(); | |
Log.d(TAG, "In the onPause() event"); | |
} | |
public void onStop() | |
{ | |
super.onStop(); | |
Log.d(TAG, "In the onStop() event"); | |
} | |
public void onDestroy() | |
{ | |
super.onDestroy(); | |
Log.d(TAG, "In the onDestroy() event"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment