onCreate

fun LifecycleOwner.onCreate(block: () -> Unit): <Error class: unknown class>

Runs the given block on every Lifecycle.Event.ON_CREATE.

Return

Disposable that allows removing the observer.