6047998943beebd81e0ae1068df39c0cbee38628 |
|
02-Feb-2016 |
Yigit Boyar <yboyar@google.com> |
Lambda In da house This CL adds support for assigning callbacks to listeners using lambda expressions. These expressions can receive either 0 or N arguments where N is equal to the number of parameters in the callback function. These expressions are evaluated when the callback is invoked. In other words, they are independent from the rest of the ExprModel except the Identifier expressions. Since these are limited to 1 full expression and they don't have any invalidation flags; we use a verbose branching code generation mode where we calculate all possible execution paths, eliminate trivial ones and generate the code. This allows callbacks to be thread safe as well. See ExecutionPath class for details. It is not efficient but since these are rere occasions, should be OK. Callback expressions are still forced to be expressions that return value. To handle `void` case, I've added `void` and `Void` as acceptable symbols. Also, if the callback method returns void, the expression is free to return `void` or any other value. ¯\\_(ツ)_/¯ I've also moved kotlin to rc0. Although rc0 is unrelated to this task, it made more sense to upgrade here because most changes it will ask for were already done in this branch. Bug: 26849440 Change-Id: I805b3d470f85df9c2ce3f3ed5ca74925a08bb7a5
/frameworks/data-binding/internal-prebuilts/com/android/databinding/localizemaven/1.1/localizemaven-1.1.jar
|
59229481aec5a284d322a2ca80dff836485feb0c |
|
30-Oct-2015 |
Yigit Boyar <yboyar@google.com> |
upgrade kotlin to 1.0-beta1 Change-Id: I62b77fd118e2715d272a16d96b9083d2347f5fb1
/frameworks/data-binding/internal-prebuilts/com/android/databinding/localizemaven/1.1/localizemaven-1.1.jar
|
499cacaab504a8166dfe44515e0242b9852d8673 |
|
30-Oct-2015 |
Yigit Boyar <yboyar@google.com> |
Revert "Revert "Update notice"" This reverts commit f5517fe4100cc751b365edb43a07455b7b435215. Change-Id: Ic60d99c9a9508dbd912a67fa2d467e7332c51dfb
/frameworks/data-binding/internal-prebuilts/com/android/databinding/localizemaven/1.1/localizemaven-1.1.jar
|
f5517fe4100cc751b365edb43a07455b7b435215 |
|
30-Oct-2015 |
Yigit Boyar <yboyar@google.com> |
Revert "Update notice" This reverts commit 0a39d327fc5dedb0a766f1ad44d7b1fc7048ef84. Change-Id: I72fad57691ac1fb1f74ccdd82d61d16b0b52e435
/frameworks/data-binding/internal-prebuilts/com/android/databinding/localizemaven/1.1/localizemaven-1.1.jar
|
0a39d327fc5dedb0a766f1ad44d7b1fc7048ef84 |
|
30-Oct-2015 |
Yigit Boyar <yboyar@google.com> |
Update notice Change-Id: I3d5e2a07075603fbc2ee9b6c93490f6ea2d7c594
/frameworks/data-binding/internal-prebuilts/com/android/databinding/localizemaven/1.1/localizemaven-1.1.jar
|
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/internal-prebuilts/com/android/databinding/localizemaven/1.1/localizemaven-1.1.jar
|