-
Notifications
You must be signed in to change notification settings - Fork 460
Android Saripaar Basics
ragunathjawahar edited this page Nov 22, 2012
·
5 revisions
Android Saripaar is a simple rule-based validation library for Android. The library began with the following design goals:
- To create a powerful and easy to use library.
- Eliminate boiler-plate code.
- Isolate validation logic.
- Make asynchronous validations seamless.
And these goals have come to fruition with Saripaar.
- Saripaar is a rule-based library, so every validation logic goes inside its Rule.
- Rules are validated in the order they are added, starting with annotations.
- Validation results are delivered via callbacks in the Validator.ValidationListener interface.