LifecycleBoundObserver

inner class LifecycleBoundObserver(val owner: LifecycleOwner, val observer: Observer<T>) : LifecycleEventObserver

Constructors

Link copied to clipboard
fun LifecycleBoundObserver(owner: LifecycleOwner, observer: Observer<T>)

Functions

Link copied to clipboard
open override fun onStateChanged(source: LifecycleOwner, event: Lifecycle.Event)

Properties

Link copied to clipboard
val observer: Observer<T>
Link copied to clipboard
val owner: LifecycleOwner