LifecycleOwner

interface LifecycleOwner

A lifecycle owner is an object that can hold a strong reference to an Observation and provide a ObservationWeakReference to it.

Functions

Link copied to clipboard
abstract fun cancelAll()

Cancels every observation this owner holds.

Link copied to clipboard