diff --git a/docs/html/tools/data-binding/guide.jd b/docs/html/tools/data-binding/guide.jd index 6acc38c2f1445..b57fba7f822f4 100644 --- a/docs/html/tools/data-binding/guide.jd +++ b/docs/html/tools/data-binding/guide.jd @@ -153,42 +153,6 @@ versions back to Android 2.1 (API level 7+).
To use data binding, Android Plugin for Gradle 1.5.0-alpha1 or higher is required.
-Please note that the Data Binding library is a beta release. - While Data Binding is in beta, developers should be aware of the following - caveats:
-
+ Some specialized click event handlers exist and they need an attribute other than
+ android:onClick to avoid a conflict. The following attributes have been created
+ to avoid such conflicts:
+
| Class | +Listener Setter | +Attribute | +
|---|---|---|
| {@link android.widget.SearchView} | +{@link android.widget.SearchView#setOnSearchClickListener} | +android:onSearchClick |
+
| {@link android.widget.ZoomControls} | +{@link android.widget.ZoomControls#setOnZoomInClickListener} | +android:onZoomIn |
+
| {@link android.widget.ZoomControls} | +{@link android.widget.ZoomControls#setOnZoomOutClickListener} | +android:onZoomOut |
+
boolean, etc.
+
+ A special variable named context is generated for use in binding
+ expressions as needed. The value for context is the
+ Context from the root View's {@link android.view.View#getContext}.
+ The context variable will be overridden by an explicit variable
+ declaration with that name.
+