Tag Archives: LiveData

android architecture: Part 7: ViewModel with LiveData and RxJava

Scope In part 6, I rewrote the movie search app in MVVM using LiveData  and ViewModel  architectural components from Jetpack. The app looks good in portrait mode, but there is an issue when screen rotates which is due to what I call an incorrect use of LiveData in part 6. This was deliberately made to draw… Read More »

android architecture: Part 5: MVVM with LiveData

Introduction In the last part, I wrote about Model-View-ViewModel (MVVM) and its structure, together with an implementation of the same sample movie search app I introduced in the first part of the series. As mentioned in part 4, MVVM is chosen by Google as the standard for writing android apps owing to its advantages over… Read More »