Tag: mvvm
-
Android Architecture Components – Looking at Room and LiveData – Part 1
This week at Google I/O 2017, there were a lot of new announcements for the Android Platform. One of the announcements was the new architecture guidelines for Android! This is a welcome addition to the Android platform. Previously the Android team refrained from giving advice as to how you should structure your Android applications. For…
-
Android Data Binding – Part 2
In Part 1 I gave an introduction into the Android Data Binding Library. I suggest reading that post first before reading further. In this post I am going to discuss the following : Binding Adapters Binding Events Two Way Binding Binding Adapters Creating an adapter and using Android Data Binding for each item is quite simple.…
-
Getting Started: The Android Data Binding Library Part 1
Anyone who has dabbled a bit in Android Development will know that Android is lacking a key component of MVVM: The ability to bind data without a couple of lines of code. For instance, setting a TextView to some value retrieved from a server is pretty complex, considering the simplicity of the task: TextView textView =…