public interface Activity
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getID()
Gets the activity identifier.
|
void |
onCreate()
Creates the activity content.
|
void |
onDestroy()
Destroys the activity content.
|
void |
onPause()
Pauses the activity.
|
void |
onRestart()
Restarts the activity.
|
void |
onResume()
Resumes the activity.
|
void |
onStart()
Starts the activity.
|
void |
onStop()
Stops the activity.
|
java.lang.String getID()
void onCreate()
void onRestart()
void onStart()
It is now visible.
void onResume()
The user returns to this activity.
void onPause()
Another activity has come to the foreground.
void onStop()
The activity is no longer visible.
void onDestroy()
All resources must have been released when this method returns.