Package-level declarations

Functions

Link copied to clipboard
fun <T> LifecycleOwner.observe(liveData: LiveData<T>, action: (t: T) -> Unit)

NOTE: Only one observer at a time per value

Link copied to clipboard
fun <T> LifecycleOwner.observeNullable(liveData: LiveData<T>, action: (t: T) -> Unit)

NOTE: Only one observer at a time per value