3b920788e90bb0abe615a5d5c899915f0014444b |
|
17-Sep-2015 |
George Mount <mount@google.com> |
Two-way binding extensions Bug 1474349 Bug 22460238 Two-way data binding won't work without a few changes to the extension library. This adds those changes and tests to ensure that two-way data binding works. Change-Id: I5e204609925bb2dc5404176f9b4e59386f200c7f
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ListenerUtil.java
|
9784c9aaedeb863018f5fcaa0a598e8e2f8ed2f3 |
|
13-Oct-2015 |
Yigit Boyar <yboyar@google.com> |
Data binding as studio dep + java6 This CL gets rid of the gradle plugin and instead provides DataBindingBuilder for the gradle plugin to directly use. Now, everything that is deployed via SDK Manager (lib and adapters) are included as prebuilts so that we avoid accidently changing them w/o an SDK manager release. There is still work to do: > re-enable proguard for externel dependencies > release a batch to ensure everything works Bug: 22516688 Change-Id: I83ace15bd6d3d23bf5b4ad850f36453dd23ebd43
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ListenerUtil.java
|
c9a5d6f140f732ca0ff279a4b1ee315072e1c422 |
|
11-Jul-2015 |
George Mount <mount@google.com> |
Fix up javadoc. Bug 22175560 Change-Id: Ib5bfd87f66602919764bd9b28c0afdcbe55a7ce5
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ListenerUtil.java
|
716ba89e7f459f49ea85070d4710c1d79d715298 |
|
18-Jun-2015 |
George Mount <mount@google.com> |
Support calling listener methods without interfaces. Bug 21594573 It is convenient to be able to assign event listeners by just referencing a method, similar to the way onClick="handler" works. This adds a whole lot of listeners for the framework. Additional listeners must be added for support library components. This isn't perfect in resolving listeners. Perfect resolution requires that each expression is evaluated in its own context within the binding statement. If, for example, the same method name is used for a listener and an accessor, we will assume that the listener is used always and there will be a compilation failure. Change-Id: If4705122b67a451430451b6e7d890eb813af1c5c
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ListenerUtil.java
|