ApplicationLifecycleCallback

interface ApplicationLifecycleCallback


Callback for monitoring application lifecycle events.

Summary

Public functions

Unit
onApplicationLifecycleChanged(app: Application, stage: ApplicationStage)

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

Public functions

onApplicationLifecycleChanged

fun onApplicationLifecycleChanged(app: Application, stage: ApplicationStage): Unit

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
app: Application

the Application

stage: ApplicationStage

its current stage.