@MainThread public interface LifecycleCallbacks
| Modifier and Type | Method and Description |
|---|---|
void |
onPause()
This method should be called when the activity or fragment is
being paused.
|
void |
onResume()
This method will be called when the activity or fragment is
being resumed.
|
void |
onStart()
This method will be called when the activity or fragment is
being started.
|
void |
onStop()
This method will be called when the activity or fragment is
being stopped.
|
void onStart()
Activity.onStart(),
Fragment.onStart(),
Fragmentvoid onResume()
Activity.onResume(),
Fragment.onResume(),
Fragmentvoid onPause()
Activity.onPause(),
Fragment.onPause(),
Fragmentvoid onStop()
Activity.onStop(),
Fragment.onStop(),
Fragment