public interface Activity
Modifier and Type | Method and Description |
---|---|
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.
|
String getID()
void onCreate()
void onDestroy()
All resources must have been released when this method returns.
void onPause()
Another activity has come to the foreground.
void onRestart()
void onResume()
The user returns to this activity.
void onStart()
It is now visible.
void onStop()
The activity is no longer visible.