• Home
  • History
  • Annotate
  • only in /frameworks/data-binding/integration-tests/MultiModuleTestApp/app/src/
History log of /frameworks/data-binding/integration-tests/MultiModuleTestApp/app/src/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0b6d118e6eeb3bc100fc6a6e66016ab812cb2783 04-Dec-2015 Yigit Boyar <yboyar@google.com> Avoid re-reading variables.

This CL fixes a bad code generation where we would set a variable to itself,
which breaks if you use a tool like ErrorProne.

I've also updated gradle version and data binding versions.

Bug: 25077399
Change-Id: I6620faf4cad5fa74dc7c35be03c46c4a76c9cfbc
ndroidTest/java/com/android/databinding/multimoduletestapp/EventIdsTest.java
28e7064d455e2ef9da31c817dfc05ec7405c60df 11-Nov-2015 Yigit Boyar <yboyar@google.com> Override layout file metadata from module

If a layout file is inherited from a module but also exists
in the app, w~e force the app version to the metadata of the
module version. This means forcing its created class location
to be the same as the module. This usually happens when gradle
or aapt generates some layout during app compilation.

Bug: 25369165
Change-Id: I5d2002ac04d16cfe9935fe5580548344b19b4aca
ndroidTest/java/com/android/databinding/multimoduletestapp/EventIdsTest.java
ndroidTest/java/com/android/databinding/multimoduletestapp/GeneratedLayoutTest.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
ndroidTest/java/com/android/databinding/multimoduletestapp/ApplicationTest.java
ndroidTest/java/com/android/databinding/multimoduletestapp/EventIdsTest.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/android/databinding/multimoduletestapp/MainActivity.java
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/activity_main.xml
ain/res/layout/another_layout.xml
ain/res/layout/demo_layout.xml
ain/res/layout/some_new_layout.xml
2e2043d30f95585de2069e1cbb23e022ab0e71c4 02-Apr-2015 George Mount <mount@google.com> Change "generated" to "databinding"
ain/java/android/databinding/multimoduletestapp/MainActivity.java
99a3d3102887d5b4c9c6713cb35d97b478088931 25-Mar-2015 Yigit Boyar <yboyar@google.com> Fix integration tests that were broken after package renaming
ndroidTest/java/com/android/databinding/multimoduletestapp/ApplicationTest.java
ndroidTest/java/com/android/databinding/multimoduletestapp/EventIdsTest.java
ain/java/android/databinding/multimoduletestapp/MainActivity.java
ain/java/android/databinding/multimoduletestapp/ObservableExtendingLib.java
ain/java/android/databinding/multimoduletestapp/ObservableInMainApp.java
ain/java/com/android/databinding/multimoduletestapp/MainActivity.java
ain/java/com/android/databinding/multimoduletestapp/ObservableExtendingLib.java
ain/java/com/android/databinding/multimoduletestapp/ObservableInMainApp.java
ain/res/layout/another_layout.xml
ain/res/layout/demo_layout.xml
ain/res/layout/some_new_layout.xml
fead9ca09b117136b35bc5bf137340a754f9eddd 23-Mar-2015 George Mount <mount@google.com> Move to package android.databinding.
ndroidTest/java/com/android/databinding/multimoduletestapp/ApplicationTest.java
ndroidTest/java/com/android/databinding/multimoduletestapp/EventIdsTest.java
ain/AndroidManifest.xml
ain/java/com/android/databinding/multimoduletestapp/MainActivity.java
ain/java/com/android/databinding/multimoduletestapp/ObservableExtendingLib.java
ain/java/com/android/databinding/multimoduletestapp/ObservableInMainApp.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
ndroidTest/java/com/android/databinding/multimoduletestapp/ApplicationTest.java
ndroidTest/java/com/android/databinding/multimoduletestapp/EventIdsTest.java
ain/AndroidManifest.xml
ain/java/com/android/databinding/multimoduletestapp/MainActivity.java
ain/java/com/android/databinding/multimoduletestapp/ObservableExtendingLib.java
ain/java/com/android/databinding/multimoduletestapp/ObservableInMainApp.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/layout/activity_main.xml
ain/res/layout/activity_test_library_main.xml
ain/res/menu/menu_main.xml
ain/res/values-v21/styles.xml
ain/res/values-w820dp/dimens.xml
ain/res/values/dimens.xml
ain/res/values/strings.xml
ain/res/values/styles.xml