Let's say you have a MVVM app with a UI layer, a ViewModel, and a Repository. Say that in your repository, you're getting some data from an API with Single
Retrofit calls, and transforming it into a UI-ready viewstate object.
The way I see it, you have two main choices (assuming you want to use LiveData in the UI layer, I am not including the option of observing Rx types from the UI):
Expose your Rx Observable
from the repository, …