I\'ve been unable to create an Android Architecuture Components ViewModel that composes multiple LiveData models into one LiveData class for my Fragment to observe. I want t
I would suggest to take a different approach:
lifecycle-reactivestreams
from the Architecture Components.By using RxJava you can easily merge observables together and only expose that combination to the view using LiveData
. I would recommend to use LiveData
only to expose state to the view (Fragment
or Activity
).
I wrote an article on how to do this. You might find it useful.