public class FormValidatorUtils
extends java.lang.Object
| Constructor and Description |
|---|
FormValidatorUtils() |
| Modifier and Type | Method and Description |
|---|---|
static android.view.ViewGroup |
getRootView(android.app.Activity activity) |
static java.lang.Object |
getValue(android.view.View view) |
static boolean |
isEmpty(java.util.Collection<?> collection) |
static boolean |
isLonger(java.lang.String string,
java.lang.Integer maxLength) |
static boolean |
isShorter(java.lang.String string,
java.lang.Integer minLength) |
static void |
showErrors(android.view.View parent,
FormErrors errors) |
static void |
showErrors(android.view.View parent,
FormErrors errors,
boolean useSnacks) |
static void |
showViewErrors(android.view.View parent,
android.view.View view,
FormErrors errors,
boolean useSnacks) |
public static boolean isEmpty(java.util.Collection<?> collection)
public static boolean isLonger(java.lang.String string,
java.lang.Integer maxLength)
public static boolean isShorter(java.lang.String string,
java.lang.Integer minLength)
public static java.lang.Object getValue(android.view.View view)
public static void showErrors(android.view.View parent,
FormErrors errors)
public static void showErrors(android.view.View parent,
FormErrors errors,
boolean useSnacks)
public static void showViewErrors(android.view.View parent,
android.view.View view,
FormErrors errors,
boolean useSnacks)
public static android.view.ViewGroup getRootView(android.app.Activity activity)