* 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
免費玩Validate:Android Binding Demo APP玩免費
免費玩Validate:Android Binding Demo App
熱門國家 | 系統支援 | 版本 | 費用 | APP評分 | 上架日期 | 更新日期 |
---|---|---|---|---|---|---|
未知 | Android Google Play | 1.0 App下載 | 免費 | 1970-01-01 | 2015-01-14 |