Lazy injecting

Report a typo

Inject the Application component without any parameters lazily into the main function:

fun main() {
    ...
    val app by // your code here
}
Enter a short text
___

Create a free account to access the full topic