Currently working on allowing MVVM in Android Application. This include two-way data binding in data-model with the view object properties. I try to make the binding using fluent-style java syntax (inspired by Fluent-NHibernate), which looks like:


A number of changes need to make on the original Android View/Widget Classes, for example:

<code>public class DataAwareTextView extends TextView implements IDataAwareObject {...</code>

Every view class, in order to support for data awareness, need to implement IDataAwareObject.

Current state:

One-way binding with string, will add binding to two other property types as well.

Future plan:

  • Implement Two-way binding
  • Rewrite most Android basic widget classes
  • Implement Converter: