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:
- Uncle Bob's Clean Code: Agile Software Craftsmanship (in London on 1st - 3rd November 2017)
- Whole Team Approach to Agile Testing (in London on 6th - 8th November 2017)
- Gojko Adzic's Specification by Example: From User Stories to Acceptance Tests (in London on 7th - 8th November 2017)
- Agile Testing & BDD eXchange 2017 (in London on 9th - 10th 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.