androidx.lifecycle:lifecycle-livedata

Official Description: Android Lifecycle LiveData

CommonsWare’s Notes

This artifact, despite its name, does not contain LiveData. Instead, that is in the lifecycle-livedata-core artifact.

Instead, this artifact is the home of MediatorLiveData and Transformations. These are useful for adapting one LiveData to another. In particular, Transformations has map() and switchMap() static methods that work akin to their RxJava counterparts, allowing you to convert (“map”) LiveData of one type to another type.

Documentation

Knowledge

Versions