LiveDataEx

open class LiveDataEx<T> : LiveData<T>

Extension class for live data.

Since

3.0.0

Parameters

The type of data held by this instance

Constructors

Link copied to clipboard
fun <T> LiveDataEx(value: T)
Link copied to clipboard

Functions

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

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

Inheritors

Link copied to clipboard