Validate:Android Binding Demo 1.0

License: Free Trial ‎File size: 37.75 MB
‎Users Rating: 5.0/5 - ‎2 ‎votes

* Technical Demo target for Android Developers *

This is a demo to Input validation support of Android Binding, a MVVM friendly framework.

Feature

* Validation against ViewModel Data.* Validation rules set in @Annotation of public Fields* Fully support for Custom Validation rules

Example

Suppose we need to validate the Login name that it is a required field: @required public Observable Login;That's it!

We can now call the Model Validator anytime:

ModelValidator.validateModel(this)

and it will return true or false, along with error messages.

Background of Android Binding

Android Binding is a new Open Source Framework for Android-Java providing xml layout view binding mechanism. It helsp development of Android Application by decoupling the View widgets and backend Activities. It is best work with MVP or MVVM patterns.

Project Homepage

http://code.google.com/p/android-binding/

My Blog

http://andytsui.wordpress.com/

Keyword

MVVM, binding, MVC, validation, validate

VERSION HISTORY

  • Version 1.0 posted on 2011-01-14
    Several fixes and updates
  • Version 1.0 posted on 2011-01-13

Program Details