Android Development: Data Binding
1h 8mIntermediate2020-11-19
Authors

Joe Marini
Senior Developer Advocate at Google, Developer
Course details
Android data binding architecture components make it easier to connect an application's data with application layouts. This eliminates an excess of boilerplate code and leads to more modular programs with greater separation of data and presentation. In this course, explore the benefits of data binding for Android developers, as well as how to enable data binding for your own app. Learn how to create a data model and add data binding support to your Android layout file. Discover how to use binding expressions to manipulate data values directly within an Android layout; bind to observable data sources to ensure that changes are automatically reflected in the layout; use binding adapters; and more.
Skills covered
Software Design PatternsAndroid DevelopmentAndroidMobile DevelopmentGoogleSoftware DevelopmentDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Simplify your data-driven layouts
- 02 - What you should know
- 03 - Getting set up
1. Overview
- 04 - What is data binding
- 05 - Doing things the old way
- 06 - Setting up your project
2. Basic Data Binding
- 07 - Create binding layout
- 08 - Create databound activity
3. Layout Expressions
- 09 - The binding expression language
- 10 - Using binding expressions
- 11 - Challenge - String concatenation expression
- 12 - Solution - String concatenation expression
4. Binding to Observable Data
- 13 - Overview of observables
- 14 - Binding to observables
- 15 - Binding to ViewModels
- 16 - Using binding adapters
- 17 - Two-way binding syntax
- 18 - Using converters
- 19 - Challenge - Color binding adapter
- 20 - Solution - Color binding adapter
Conclusion
- 21 - Next steps
Related courses
- Android Development Essential Training: Manage Data with Kotlin
- Android App Development: Design Patterns for Mobile Architecture
- Building an Android App with Jetpack Libraries
- C# Cross-Platform Development
- RxJava: Design Patterns for Android Developers
- .NET MAUI for Beginners
- Building Native Mobile Apps with NativeScript and Angular 2
- Android App Development: Data Persistence Libraries
Related learn paths
- Prepare for the Google Associate Android Developer Certification
- Become an Android Mobile App Developer
- Elevating C# Skills: Building Robust Applications
- Become a Data Visualization Specialist: Tools
- Prepare for the Certified Information Security Manager (CISM) exam
- Improve Your JavaScript Language Skills
- Become a Java Programmer
- Become a Software Developer