Mesith / android-binding

Automatically exported from code.google.com/p/android-binding
0 stars 0 forks source link

Binding to nested Properties #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Support the scenario of binding a ViewModel to a layout and then bind a view 
(like a LinearLayout), inside the root View, to a nested field of the original 
ViewModel.

For example we have a ManViewModel with a Wife field.

class ManViewModel {
public WifeViewModel Wife;
}

Is it possible to bind a TextView like this:
...
binding:text="Wife.Name"
...

Original issue reported on code.google.com by dj7so...@gmail.com on 27 Oct 2011 at 4:58

GoogleCodeExporter commented 9 years ago
We started working on this since early September. If you are keen to see how it 
works, you can grab the Source under branch: InnerField. I am planning to 
release this after 0.4. 

Original comment by gueei....@gmail.com on 1 Nov 2011 at 12:33

GoogleCodeExporter commented 9 years ago
Feature merged to trunk and will be main feature in the upcoming release

Original comment by gueei....@gmail.com on 22 Dec 2011 at 4:07