Alexandre Juca
Sep 1, 2018 · 1 min read

Shouldn’t the single source of truth in the MVVM Pattern be the Repository? Since it will have methods to load data from different sources like database, web services etc and then pass them over to the ViewMode. The ViewModel does not care where the data came from all it knows is that the Repository is the source of that data.

    Alexandre Juca

    Written by

    Software Engineer @ Next Solutions

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade