observeAlways

fun observeAlways(owner: LifecycleOwner, observer: Observer<T>)

Observes forever, however, remove the observer when ON_DESTROY is invoked.

Since

3.0.0

Parameters

owner

The LifecycleOwner which controls the observer

observer

The observer that will receive the events