listen

fun listen(listener: (Application) -> Unit)

Register a listener to execute code when the application context becomes available

Parameters

listener

The code to execute when the application context becomes available