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:
- Got The Perfect Agile Model? Here’s What You Should Know About Agnostic Agile (in London on 25th July 2017)
- Russ Miles' Microservices Workshop (in London on 4th - 6th September 2017)
- Agile Testing & BDD eXchange 2017 (in London on 9th - 10th November 2017)
- Serverless Architecture with Azure Functions with Christos Matskas! (in London on 29th November 2017)
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.