f75f86f26e84e895016851c4af87851b3886ea16 |
27-Aug-2015 |
Yigit Boyar <yboyar@google.com> |
Add disclaimer to the demo layouts Our sample app has complex expressions some of which are not good practices. Added a comment to the files so that developers won't see them and consider them as the right way to do things. Change-Id: Id987cfbcc5d489c5393a09e56a8bbacd39308839
ain/res/layout/list_item.xml
ain/res/layout/main_activity.xml
|
793e979f25e190162eacf46d6a4efc3efc1d2f91 |
31-Jul-2015 |
George Mount <mount@google.com> |
Support different event handlers having different API levels. Bug 22957226 Change-Id: Ia08bcb857872eccad3340c14b8d10b78198b90a6
ain/java/com/android/example/bindingdemo/MainActivity.java
ain/res/layout/main_activity.xml
|
af516f3f11ae36cb2c5e3dfcbaad7e3f2db174cd |
23-May-2015 |
Yigit Boyar <yboyar@google.com> |
Fix sample app
ain/java/com/android/example/bindingdemo/MainActivity.java
|
722fe711207a37783dfa7142284b0ebe5bd503fb |
20-May-2015 |
George Mount <mount@google.com> |
Observable* listeners should be callbacks. Bug 21324996 Changed listeners to callbacks and made them abstract base classes, following API conventions. Change-Id: Ibc849d11c1fea83c02ba593d9aaf2ebf8cfc2eef
ain/java/com/android/example/bindingdemo/MainActivity.java
|
6a5e8f49ed279b7ff0fe8097010ba985bf5c5ed6 |
30-Apr-2015 |
George Mount <mount@google.com> |
Add setContentView to DataBindingUtil. Bug 19703537
ain/java/com/android/example/bindingdemo/MainActivity.java
|
9bdb2415487832e88a05c7bd19391b05440b468e |
29-Apr-2015 |
George Mount <mount@google.com> |
Change from using Context to LayoutInflater for inflate() When inflating, it is more efficient to use the LayoutInflater directly instead of getting it from the Context. I also changed DataBindingUtil.bindTo to bind to match the static method call in the Binding classes. Change-Id: I855297a4f081102c49ea477047c0ac81de1676f5
ain/java/com/android/example/bindingdemo/DataBoundAdapter.java
ain/java/com/android/example/bindingdemo/MainActivity.java
|
658c71b9ba3211ac5c10f261a8c6f38b1916d3bf |
22-Apr-2015 |
Yigit Boyar <yboyar@google.com> |
Fix invalidate any flag. This CL also adds a new build target to move folders to an EAP folder that can be shipped to early access partners. I've also changed the demo to use android emojis
ain/java/com/android/example/bindingdemo/MainActivity.java
ain/java/com/android/example/bindingdemo/vo/User.java
ain/java/com/android/example/bindingdemo/vo/Users.java
ain/res/drawable/emo_im_angel.png
ain/res/drawable/emo_im_cool.png
ain/res/drawable/emo_im_crying.png
ain/res/drawable/emo_im_embarrassed.png
ain/res/drawable/emo_im_foot_in_mouth.png
ain/res/drawable/emo_im_happy.png
ain/res/drawable/emo_im_kissing.png
ain/res/drawable/emo_im_laughing.png
ain/res/drawable/emo_im_lips_are_sealed.png
ain/res/drawable/emo_im_money_mouth.png
ain/res/drawable/emo_im_sad.png
ain/res/drawable/emo_im_surprised.png
ain/res/drawable/emo_im_tongue_sticking_out.png
ain/res/drawable/emo_im_undecided.png
ain/res/drawable/emo_im_winking.png
ain/res/drawable/emo_im_wtf.png
ain/res/drawable/emo_im_yelling.png
ain/res/layout/main_activity.xml
ain/res/values/strings.xml
est/java/com/android/example/bindingdemo/vo/UnitTest.java
|
c64ae35dc1f125186351cb75dc0e11a0071e934c |
21-Apr-2015 |
Yigit Boyar <yboyar@google.com> |
WIP eap
ain/java/com/android/example/bindingdemo/vo/Users.java
ain/res/drawable/adam.png
ain/res/drawable/alan.png
ain/res/drawable/chet.png
ain/res/drawable/chris.png
ain/res/drawable/george.png
ain/res/drawable/john.png
ain/res/drawable/rob.png
ain/res/drawable/romain.png
ain/res/drawable/tenghui.png
ain/res/drawable/yigit.png
|
3b8fedce6e9ee814ffe7b63d07aa5456f08fb9b2 |
15-Apr-2015 |
George Mount <mount@google.com> |
Parse and strip new layout format. API Council suggested a new layout format for layouts with bindings. Here, we parse the new format and strip it. This also brings in the ability to provide a custom class name for the binding. Change-Id: I674320d21265c1dec70d1a52285341fe4994895b
ain/res/layout/list_item.xml
ain/res/layout/main_activity.xml
|
2e2043d30f95585de2069e1cbb23e022ab0e71c4 |
02-Apr-2015 |
George Mount <mount@google.com> |
Change "generated" to "databinding"
ain/java/com/android/example/bindingdemo/MainActivity.java
|
34a18e6a231f3b64726bd93e7e097a0d5a75995d |
26-Mar-2015 |
George Mount <mount@google.com> |
Move to public final fields instead of getters for Views. Bug 19933644
ain/java/com/android/example/bindingdemo/MainActivity.java
|
fead9ca09b117136b35bc5bf137340a754f9eddd |
23-Mar-2015 |
George Mount <mount@google.com> |
Move to package android.databinding.
ain/java/com/android/example/bindingdemo/DataBoundAdapter.java
ain/java/com/android/example/bindingdemo/MainActivity.java
ain/java/com/android/example/bindingdemo/vo/User.java
ain/res/layout/list_item.xml
est/java/com/android/example/bindingdemo/vo/UnitTest.java
|
a6e4583962e19e8e93b4ca3f9fe3d34560b6d96c |
13-Mar-2015 |
Yigit Boyar <yboyar@google.com> |
Support for multi module setups This CL adds support for building multi module apps with proper context. For library modules, we only generate base classes in the initial compilation. We also generate a temporary BR file which does not have final methods. When final app is being generated, all layout binders, adapters and Bindable information gets merged and all final classes are generated in their appropriate packages. This CL also adds support for Test runs and any number of build variants. Bug: 19714904 Change-Id: I9b50b54db05f3fa206eec33709d43c2ac94a9e5e
ain/java/com/android/example/bindingdemo/MainActivity.java
ain/java/com/android/example/bindingdemo/vo/User.java
est/java/com/android/example/bindingdemo/vo/UnitTest.java
|
4c5cc009bcbcfb19e33fb19db5ec80f83f7b3326 |
12-Mar-2015 |
George Mount <mount@google.com> |
Use abstract base class instead of interfaces for Binding objects. Bug 19627511 Bug 19709604 Changed generated classes to end with "Binding" instead of "Binder" to avoid confusion with Android Binders. Removed DataBinder class and moved the important aspects of its contents to ViewDataBinding. Improved mapping of Views in included layouts. Avoid traversing included layouts while looking for bound expressions. Change-Id: I1f28093b0792d5428d07192f1fc458a5b4b788b2
ain/java/com/android/example/bindingdemo/DataBoundAdapter.java
ain/java/com/android/example/bindingdemo/MainActivity.java
|
2ae965ad2930fa98205e99fb78122f39b05b7eb9 |
12-Mar-2015 |
Michal Bendowski <bendowski@google.com> |
Merge "Add a unit test to the sample project."
|
cec8772a54dfcf6a3d846cbeaf7ee6a49beb9bcd |
12-Mar-2015 |
Michal Bendowski <bendowski@google.com> |
Add a unit test to the sample project.
est/java/com/android/example/bindingdemo/vo/UnitTest.java
|
895b618d9c6e3deb56465d0759cda57f50c46214 |
12-Mar-2015 |
Yigit Boyar <yboyar@google.com> |
Downgrade to java 1.6 This CL removes java 1.7 code so that we can easily integrate w/ Idea. It also partially removes dependency on ModelAnalyzer for interface generation so that we can call it from the Idea plugin. Change-Id: Id7616987f5660911e951ddf20dacd4f407dacbd9
ain/java/com/android/example/bindingdemo/MainActivity.java
ain/res/layout/list_item.xml
|
974a07824642fabd896930f20c7b176fd2333e31 |
04-Feb-2015 |
George Mount <mount@google.com> |
Made expressions prefix with "@"
ain/res/layout/list_item.xml
ain/res/layout/main_activity.xml
|
2c86cdbaf189e2b1774af7f64a2974de9321673f |
28-Jan-2015 |
George Mount <mount@google.com> |
Moved classes from library to baseLibrary Added tests for some classes.
ain/java/com/android/example/bindingdemo/MainActivity.java
|
5cd681c345db8f606d7d5a8662e20e059f21a86c |
24-Jan-2015 |
George Mount <mount@google.com> |
Add observable collections Change-Id: I609708e2c914fa0c38695172ede23207eb1569a1
ain/java/com/android/example/bindingdemo/MainActivity.java
|
43596c2b2997e40b709627419732100d78a62ff0 |
22-Jan-2015 |
Yigit Boyar <yboyar@google.com> |
Cleanup previous layout generators. Change-Id: Ib55038fa762561ad69c3936e5731f2a27998c87f
ain/java/com/android/example/bindingdemo/MainActivity.java
|
d7af42b29ddf22f0068f7496c5ac6f4f34b543b6 |
09-Jan-2015 |
Yigit Boyar <yboyar@google.com> |
WIP Moved models to Java, refactored expressions to have proper dependencies, added tests Change-Id: I863787a3ed76ecc397b677cfd110aa7aba99cb38
ain/java/com/android/example/bindingdemo/MainActivity.java
ain/res/layout/main_activity.xml
|
3561e3e665698843b1c664385a842e779198960b |
20-Jan-2015 |
George Mount <mount@google.com> |
Added implementations of BindingAdapters. Added renaming attribute-to-setter and automatic Conversions. Moved intermediate store (SetterStore) to compiler project. Moved annotations to their own project.
ain/java/com/android/example/bindingdemo/vo/TestBindingAdapter.java
|
612997fe2e41366573855f56898b27d4c8787244 |
09-Jan-2015 |
George Mount <mount@google.com> |
Handle BindingAdapters
ain/java/com/android/example/bindingdemo/vo/TestBindingAdapter.java
|
293de28642305ce210e1d2a1cfe0abfa4f737d7a |
17-Dec-2014 |
George Mount <mount@google.com> |
Started renaming to classes and methods to match design doc. Change-Id: I3f2809bedfdd4b856d140fb9336ae3c077d1accb
ain/java/com/android/example/bindingdemo/MainActivity.java
ain/java/com/android/example/bindingdemo/vo/User.java
|
7bdc3517f998d167a8d2922fbe5b3ee955a75016 |
17-Dec-2014 |
George Mount <mount@google.com> |
Move to android.binding.BR
ain/java/com/android/example/bindingdemo/MainActivity.java
ain/java/com/android/example/bindingdemo/vo/User.java
|
b617e5da04aa910be70204afb886b1ebebb80618 |
17-Dec-2014 |
George Mount <mount@google.com> |
Add annotation processor.
ain/java/com/android/example/bindingdemo/MainActivity.java
ain/java/com/android/example/bindingdemo/vo/User.java
|
8ffce57a6056a34c9568ef1893d6e36ce80f2245 |
13-Dec-2014 |
Yigit Boyar <yboyar@google.com> |
Upload plugin for new lang
ain/res/layout/list_item.xml
ain/res/layout/main_activity.xml
|
57f5033de8ae6f260930e11ddef0a0e9091ee116 |
17-Dec-2014 |
George Mount <mount@google.com> |
Revert "Added Bindable annotation processor." This reverts commit 8f98922af15026fbbcf7ad55826198c58cb2d330. Change-Id: I3afbc70d2743a682f04ec82a45c340ebde4cb47c
ain/java/com/android/example/bindingdemo/MainActivity.java
ain/java/com/android/example/bindingdemo/vo/User.java
|
e0b6d649e4970925ae24ed707ec0cad82b393fd1 |
16-Dec-2014 |
George Mount <mount@google.com> |
Added Bindable annotation processor. Change-Id: I17d4109f9d974d46474b9ac1fba4d303f232b097
ain/java/com/android/example/bindingdemo/MainActivity.java
ain/java/com/android/example/bindingdemo/vo/User.java
|
eb1062abaed1314c71cf80584fe8bcb8b2a6ba53 |
12-Dec-2014 |
Yigit Boyar <yboyar@google.com> |
add samples, upload gradle files
ain/AndroidManifest.xml
ain/java/com/android/example/bindingdemo/DataBoundAdapter.java
ain/java/com/android/example/bindingdemo/MainActivity.java
ain/java/com/android/example/bindingdemo/vo/User.java
ain/java/com/android/example/bindingdemo/vo/Users.java
ain/res/drawable-hdpi/ic_launcher.png
ain/res/drawable-mdpi/ic_launcher.png
ain/res/drawable-xhdpi/ic_launcher.png
ain/res/drawable-xxhdpi/ic_launcher.png
ain/res/drawable/adam.png
ain/res/drawable/alan.png
ain/res/drawable/chet.png
ain/res/drawable/chris.png
ain/res/drawable/george.png
ain/res/drawable/john.png
ain/res/drawable/rob.png
ain/res/drawable/romain.png
ain/res/drawable/tenghui.png
ain/res/drawable/yigit.png
ain/res/layout/list_item.xml
ain/res/layout/main_activity.xml
ain/res/menu/menu_main.xml
ain/res/values-w820dp/dimens.xml
ain/res/values/dimens.xml
ain/res/values/strings.xml
ain/res/values/styles.xml
|