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:
- Modern development with Java (in London on 26th - 28th June 2017)
- F# eXchange 2018 (in London on 5th - 6th April 2018)
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 is working on the Android version of Cynny, an innovative app that allows to easily create and share instant videos. 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.