History log of /frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/User.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
86558cbd9a58387d6b88a8d032eb2d1e33353030 10-Apr-2015 George Mount <mount@google.com> Bindable properties must only be on Observables.

Bug 20075584

Change-Id: I2f9db60d1cc921451ada31529e28a4f33526a9ef
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/User.java
d8c8ec27ed2ec0b11fa37f476395ce27834471f0 05-Apr-2015 Yigit Boyar <yboyar@google.com> Fix ternary handling and generate better code

This CL fixes an issue about ternary expressions where
a ternary expression would be evaluated with its last
evaluated dependency. This would create a problem where
ternary expressions would not be evaluated if other branch
of the conditional is chosen, This bug is fixed by checking
outher flags such that we'll still calculate it together
if all dependencies are behind the same flag vs we'll
calculate it independently if its dependency flags are different.

This CL also improves the generated code in two ways:
- When there is an if inside if, we don't add flag check (the if)
if all of its conditions are covered in the parent if.
- I replaced flag names with binary values. This looks more
readable then generated names.

Bug: 20073197
Change-Id: I9d07868206a5393d6509ab0a205b30a796e11107
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/User.java