DataBinding 官方文档翻译学习笔记
Data Binding Library 数据绑定库 This document explains how to use the Data Binding Library to write declarative layouts and minimize the glue code necessary to bind your application logic and layouts 本文介绍了如何使用数据绑定库去写声明布局文件和减少绑定你的应用程序的逻辑和布局所必需的粘合代码。 The Data Binding Library offers both flexibility and broad compatibility — it's a support library, so you can use it with all Android platform versions back to Android 2.1 (API level 7+). 数据绑定库是一个支持库,它提供了灵活性和广阔的兼容性,所以你可以在版本Android2.1之后的所有android平台中使用它。 To use data binding, Android Plugin for Gradle 1.5.0-alpha1 or higher is required. See how to update