{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
interface ApplicationLifecycleCallback
Callback for monitoring application lifecycle events.
Public methods |
|
|---|---|
abstract @NonNull void |
onApplicationLifecycleChanged(Called on after an application has processed its lifecycle change event (for example onCreate) These callbacks may occur on main thread so implementers should limit the amount of processing performed |
@NonNull
public abstract void onApplicationLifecycleChanged(
@NonNull Application app,
@NonNull ApplicationStage stage
)
Called on after an application has processed its lifecycle change event (for example onCreate) These callbacks may occur on main thread so implementers should limit the amount of processing performed
| Parameters | |
|---|---|
@NonNull Application app |
the Application |
@NonNull ApplicationStage stage |
its current stage. |