public interface LifecycleEventListener
Modifier and Type | Method and Description |
---|---|
void |
onHostDestroy()
Called when host activity receives destroy event (e.g.
|
void |
onHostPause()
Called when host activity receives pause event (e.g.
|
void |
onHostResume()
Called either when the host activity receives a resume event (e.g.
|
void onHostResume()
Activity#onResume
or
if the native module that implements this is initialized while the host activity is already
resumed. Always called for the most current activity.void onHostPause()
Activity#onPause
. Always called
for the most current activity.void onHostDestroy()
Activity#onDestroy
. Only called
for the last React activity to be destroyed.