Thanks for this great article.
Agustín Rizzo
1

Hi Agustín Rizzo, thank you!!

Not sure I fully got your question..

Repo has LD (Live Data).

View Model uses switchMap to observe Repo LD and update it, for the view’s use. so switchMap has the Repo LD as input, and outputs ViewModel LD.

The View Observers ViewModel LD.

Therefore: whenever RepoLD changes → ViewModel LD changes (with the SwitchMap method)→ View is notified with the new value.

Let me know if it helps :)