Tag: data binding

  • 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 =…