livedata
Android Single Source of Truth (SSOT) using View States with MVVM and LiveData
The Single Source of Truth (SSOT) principle is an important concept not only in Android, but in pretty much every type of object-oriented programming. The idea of it in an MVVM sense is that the view only receives data from one observable (be it LiveData… Read More »Android Single Source of Truth (SSOT) using View States with MVVM and LiveData
3 Ways to use Retrofit with LiveData in the MVVM Android Architecture
Back in the good ol’ days of MVP, the combination of RxJava and Retrofit was almost an absolute. It only made perfect sense to return API calls as Observables that can be easily mapped and manipulated in ways limited only by imagination. While MVVM can… Read More »3 Ways to use Retrofit with LiveData in the MVVM Android Architecture