VIEW - The View on which this rule is to be applied.public abstract class QuickRule<VIEW extends android.view.View> extends Rule<VIEW>
AnnotationRules,
QuickRules can exist without Annotations. These rules are
directly applied to Views. They are added to the
Validator using the
Validator.put(android.view.View, QuickRule[]) method.| Modifier | Constructor and Description |
|---|---|
protected |
QuickRule()
Default constructor.
|
protected |
QuickRule(int sequence)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
isValid(VIEW view)
Checks if the rule is valid.
|
getMessage, getSequence