History log of /frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/MainActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/MainActivity.java
af516f3f11ae36cb2c5e3dfcbaad7e3f2db174cd 23-May-2015 Yigit Boyar <yboyar@google.com> Fix sample app
/frameworks/data-binding/samples/BindingDemo/app/src/main/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
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/MainActivity.java
6a5e8f49ed279b7ff0fe8097010ba985bf5c5ed6 30-Apr-2015 George Mount <mount@google.com> Add setContentView to DataBindingUtil.

Bug 19703537
/frameworks/data-binding/samples/BindingDemo/app/src/main/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
/frameworks/data-binding/samples/BindingDemo/app/src/main/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
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/MainActivity.java
2e2043d30f95585de2069e1cbb23e022ab0e71c4 02-Apr-2015 George Mount <mount@google.com> Change "generated" to "databinding"
/frameworks/data-binding/samples/BindingDemo/app/src/main/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
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/MainActivity.java
fead9ca09b117136b35bc5bf137340a754f9eddd 23-Mar-2015 George Mount <mount@google.com> Move to package android.databinding.
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/MainActivity.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
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/MainActivity.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
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/MainActivity.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
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/MainActivity.java
2c86cdbaf189e2b1774af7f64a2974de9321673f 28-Jan-2015 George Mount <mount@google.com> Moved classes from library to baseLibrary

Added tests for some classes.
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/MainActivity.java
5cd681c345db8f606d7d5a8662e20e059f21a86c 24-Jan-2015 George Mount <mount@google.com> Add observable collections

Change-Id: I609708e2c914fa0c38695172ede23207eb1569a1
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/MainActivity.java
43596c2b2997e40b709627419732100d78a62ff0 22-Jan-2015 Yigit Boyar <yboyar@google.com> Cleanup previous layout generators.

Change-Id: Ib55038fa762561ad69c3936e5731f2a27998c87f
/frameworks/data-binding/samples/BindingDemo/app/src/main/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
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/MainActivity.java
293de28642305ce210e1d2a1cfe0abfa4f737d7a 17-Dec-2014 George Mount <mount@google.com> Started renaming to classes and methods to match design doc.

Change-Id: I3f2809bedfdd4b856d140fb9336ae3c077d1accb
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/MainActivity.java
7bdc3517f998d167a8d2922fbe5b3ee955a75016 17-Dec-2014 George Mount <mount@google.com> Move to android.binding.BR
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/MainActivity.java
b617e5da04aa910be70204afb886b1ebebb80618 17-Dec-2014 George Mount <mount@google.com> Add annotation processor.
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/MainActivity.java
57f5033de8ae6f260930e11ddef0a0e9091ee116 17-Dec-2014 George Mount <mount@google.com> Revert "Added Bindable annotation processor."

This reverts commit 8f98922af15026fbbcf7ad55826198c58cb2d330.

Change-Id: I3afbc70d2743a682f04ec82a45c340ebde4cb47c
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/MainActivity.java
e0b6d649e4970925ae24ed707ec0cad82b393fd1 16-Dec-2014 George Mount <mount@google.com> Added Bindable annotation processor.

Change-Id: I17d4109f9d974d46474b9ac1fba4d303f232b097
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/MainActivity.java
eb1062abaed1314c71cf80584fe8bcb8b2a6ba53 12-Dec-2014 Yigit Boyar <yboyar@google.com> add samples, upload gradle files
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/MainActivity.java