-
public final class LiveDataKt
-
-
Method Summary
Modifier and Type Method Description final static <T extends Any, L extends LiveData<T>> Unitobserve(LifecycleOwner $self, L liveData, Function1<T, Unit> body)Convenience method for observing LiveData in a LifecycleOwner. -
-
Method Detail
-
observe
final static <T extends Any, L extends LiveData<T>> Unit observe(LifecycleOwner $self, L liveData, Function1<T, Unit> body)
Convenience method for observing LiveData in a LifecycleOwner.
-
-
-
-