d3f2b9229472c9dae9bf4ae8b3e2d653b5653b01 |
|
17-Sep-2015 |
George Mount <mount@google.com> |
Two-way binding Bug 1474349 Bug 22460238 This adds two-way data binding for those attributes on Views that also have event listeners for them. General use is also supported, but event listeners are required to notify when those properties change. Change-Id: Iedc66a604257930265f9d661f69658a0a0c3208b
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/SetterStore.java
|
4ba16229a40e9758db86d4fb1df5119fdcb8aa2a |
|
22-Dec-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Change from commons-lang3 to guava Change-Id: I1a18e06af7bf2d65228f1491663b6e096a9538ed
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/SetterStore.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/compiler/src/main/java/android/databinding/tool/store/SetterStore.java
|
a128d1c99ea98bb48c45d648906652e3d618d513 |
|
29-Sep-2015 |
George Mount <mount@google.com> |
Bring all instance BindingAdapters into Component. This also uses a non-arbitrary ordering for name clashes. Bug 24407912 Change-Id: Ibd96adfb979af86370889acb7b60c1b6953b190d
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/SetterStore.java
|
bd42d20f70b1f88e27e3b3c9c3a9c55ec155d128 |
|
25-Aug-2015 |
George Mount <mount@google.com> |
Support generics in conversion parameters. Bug 23490384 Change-Id: I691da60a671d15c73cf2753ff830f9effb360e96
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/SetterStore.java
|
97758524d3953793b50e3e0121ef3cbdc047b35b |
|
19-Aug-2015 |
George Mount <mount@google.com> |
Remove automatic converstions to Object. Bug 23348140 Change-Id: I6bdcb0982c2e755dc4ad0eb53b35e07d1ac9ebed
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/SetterStore.java
|
793e979f25e190162eacf46d6a4efc3efc1d2f91 |
|
31-Jul-2015 |
George Mount <mount@google.com> |
Support different event handlers having different API levels. Bug 22957226 Change-Id: Ia08bcb857872eccad3340c14b8d10b78198b90a6
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/SetterStore.java
|
96b22e7bbbf942aea1079dc8e8d0c4657663e5a7 |
|
30-Jul-2015 |
George Mount <mount@google.com> |
Multiple adapter attributes can now have optional expressions. Bug 22957032 Change-Id: If1b04262009a1edf311d097c65e97b194103906e
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/SetterStore.java
|
e4cd38824a6627b9fef229c549c636e35ad63b5f |
|
07-Jul-2015 |
George Mount <mount@google.com> |
Support dependency injection. Bug 22389109 Change-Id: Iec63375c5412edc03b4808ee129a7596b61bf9e6
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/SetterStore.java
|
e8609ca3a9e95cb730d74f8a6114bc2ae11b6a10 |
|
30-Jun-2015 |
Yigit Boyar <yboyar@google.com> |
Add cache to GenerationalClassUtil to avoid re-reading jars Bug:22185294 Change-Id: I0c9def9944ecc68e7e5df530228d00011c1f8c57
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/SetterStore.java
|
2611838bffef5a009ca71e3e9e59a93f29b098ed |
|
24-Jun-2015 |
Yigit Boyar <yboyar@google.com> |
Remove guava from compiler This CL removes all dependency from guava and replaces it w/ either plain java or some utilities. Bug: 22047836 Change-Id: I94be54ed992ab6b5f27c47a8cf400ae60aef02f8
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/SetterStore.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 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/compiler/src/main/java/android/databinding/tool/store/SetterStore.java
|
6a62f1fff2a45c639b85c6cc12c00a1d8e9e98c9 |
|
17-Jun-2015 |
George Mount <mount@google.com> |
Merge "Support old values in binding adapters." into mnc-dev
|
20c7182163d99575d382e065f5a5fe45ed6b87e2 |
|
12-Jun-2015 |
George Mount <mount@google.com> |
Support old values in binding adapters. Bug 21594573 When a binding adapter takes old values, the old values are stored in the generated binding as fields. Change-Id: Ib163d74720a8199d70ff6884d59fbe4e0d17fece
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/SetterStore.java
|
0cb9fbb96197af013f4f879ed6cddf2681b88fd6 |
|
16-Jun-2015 |
Yigit Boyar <yboyar@google.com> |
Move shared code between build and compiler to a separate project This CL encapsulates the shared code between build time and annotation processing into a separate project. This project has no dependency on kotlin so we can easily use it in gradle plugin. Bug: 21815393 Change-Id: I9fd2e88885d06ff5423121747817ffcd056e8c74
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/SetterStore.java
|
b9e4aa96812692a7dcf468445e64bc5b30d3c79a |
|
19-May-2015 |
George Mount <mount@google.com> |
Better handling of generics in BindingAdapters Bug 21277338 Handle <T> adapter(View, T value) Also test and fixes to support View<T> with multi-attribute adapters. Change-Id: I12bda5b235111762b55357fed7f163ccaf83838d
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/SetterStore.java
|
91d538470c011e19fa4375cc3531b5dd9ae01d55 |
|
15-May-2015 |
George Mount <mount@google.com> |
Fix generic setter on generic View. When a View is generic (e.g. MyView<T>), and a setter takes a generic parameter, the setter parameter didn't match the argument. Change-Id: I115ace5582b847bda792d75cf7aaf57ffc8bd4cd
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/SetterStore.java
|
1331801c598a377a2c16e1aed8f975b728adc06e |
|
14-May-2015 |
George Mount <mount@google.com> |
Give warning when BindingAdapter uses namespace. Bug 20725101 Change-Id: Ia1cf0d5fc886a6e5ebc9090fefa77ea6f1e3ca46
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/SetterStore.java
|
5f3aae011cc291c2abbb90215c2e6f89a5f2626d |
|
13-May-2015 |
George Mount <mount@google.com> |
Give an error if attribute is used when no setter is available. Bug 20979710 This only prevents invalid setter calls for Views, not for Bindings, such as used with includes.
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/SetterStore.java
|
c619d8f69127c1200103d8119101c5f0675661d0 |
|
01-May-2015 |
George Mount <mount@google.com> |
Have BindingMethod use Class instead of String. Bug 20720873
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/SetterStore.java
|
e9b33bac04bb1ce1444d7f1744fcec1ecd3a57da |
|
30-Apr-2015 |
Yigit Boyar <yboyar@google.com> |
Support multi-param adapters in code generation Bug: 19800022 Change-Id: I40c4ac72f24f965db12fd1c7dec6591184160ae5
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/SetterStore.java
|
cffffe30fe53455856d3d41724b9d5dd21aebf9a |
|
28-Apr-2015 |
George Mount <mount@google.com> |
First stage in allowing multi-parameter BindingAdapters. Allow multi-parameter binding adapters. These will affect Views where multiple attributes are using expressions. In this initial stage, BindingAdapters can be applied to multiple attributes and the list of such binding adapters can be retrieved. Change-Id: I073393c215cd93d232fb1e3682641fdc31d994d2
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/SetterStore.java
|
fead9ca09b117136b35bc5bf137340a754f9eddd |
|
23-Mar-2015 |
George Mount <mount@google.com> |
Move to package android.databinding.
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/SetterStore.java
|