public static enum InputErrorFeedbackLayout.ErrorFeedbackState extends java.lang.Enum<InputErrorFeedbackLayout.ErrorFeedbackState>
Enum Constant and Description |
---|
CUSTOM_ERROR
A custom error.
|
FIELD_EMPTY
Field is empty and needs to be filled in.
|
INCORRECT_FORMAT
The input format is incorrect.
|
NONE
There is no error, hide error UI.
|
Modifier and Type | Method and Description |
---|---|
static InputErrorFeedbackLayout.ErrorFeedbackState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InputErrorFeedbackLayout.ErrorFeedbackState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputErrorFeedbackLayout.ErrorFeedbackState NONE
public static final InputErrorFeedbackLayout.ErrorFeedbackState FIELD_EMPTY
public static final InputErrorFeedbackLayout.ErrorFeedbackState INCORRECT_FORMAT
public static final InputErrorFeedbackLayout.ErrorFeedbackState CUSTOM_ERROR
InputErrorFeedbackLayout.CustomInputErrorDelegate
.public static InputErrorFeedbackLayout.ErrorFeedbackState[] values()
for (InputErrorFeedbackLayout.ErrorFeedbackState c : InputErrorFeedbackLayout.ErrorFeedbackState.values()) System.out.println(c);
public static InputErrorFeedbackLayout.ErrorFeedbackState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null