Please log in to watch this conference skillscast.
The Data Binding framework was one of Google's announcements at I/O 2015, and it represents a big change in the code organization of an Android app. Some developers are skeptical about this framework but, if used in the “right way”, it’s very powerful and it allows to remove a lot of redundant boilerplate code from activities and fragments.
In this talk you will start from the Data Binding basic concepts and then will discover how to use it to improve the architecture of a typical Android application applying the Model View ViewModel pattern. Using this pattern you need to write less code to create an app that can be easily tested using JVM and instrumentation tests.
The demo project is available here.
YOU MAY ALSO LIKE:
Android Data Binding in action using MVVM pattern
Fabio Collini is an Android developer since 2009, first as a freelance with two apps on Play Store and then as senior developer. Now he works at Nana Bianca, a startup accelerator in Florence. He is one of the authors of the second edition of Android Programmazione Avanzata, an Italian book dedicated to some advanced aspects of Android development.