public abstract class MyActivity
extends Activity
Constructor and Description |
---|
MyActivity() |
Modifier and Type | Method and Description |
---|---|
void |
addBreak(View view) |
void |
onConfigurationChanged(Configuration config)
Never called unless you set
android:configChanges in the
AndroidManifest.xml file.
|
void |
onCreate(Bundle savedInstanceState)
Called when the activity is created (either
for the first time or after having been
Destroyed.
|
void |
onDestroy()
Called when the activity transitions from
Stopped to Destroyed.
|
void |
onPause()
Called when the activity transitions from
Active to Paused.
|
void |
onRestart()
Called when the activity transitions to
Paused (on its way to Active) after having
been Stopped.
|
void |
onResume()
Called when the activity transitions
from Paused to Active.
|
void |
onSaveInstanceState(Bundle state)
Usually (but not always) called during the
transition from Active to Paused, or during
the transition from Paused to Stopped.
|
void |
onStart()
Called when the activity transitions to
Paused (on its way to Active), either for
the first time or after the activity has
been Stopped.
|
void |
onStop()
Called when the activity transitions from
Paused to Stopped.
|
public void addBreak(View view)
public void onCreate(Bundle savedInstanceState)
public void onRestart()
public void onStart()
public void onResume()
public void onConfigurationChanged(Configuration config)
public void onSaveInstanceState(Bundle state)
public void onPause()
public void onStop()
public void onDestroy()