public static enum OnItemSelected.Callback extends java.lang.Enum<OnItemSelected.Callback>
AdapterView.OnItemSelectedListener callback methods.| Enum Constant and Description |
|---|
ITEM_SELECTED
AdapterView.OnItemSelectedListener.onItemSelected(android.widget.AdapterView, android.view.View,
int, long) |
NOTHING_SELECTED
AdapterView.OnItemSelectedListener.onNothingSelected(android.widget.AdapterView) |
| Modifier and Type | Method and Description |
|---|---|
static OnItemSelected.Callback |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OnItemSelected.Callback[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OnItemSelected.Callback ITEM_SELECTED
AdapterView.OnItemSelectedListener.onItemSelected(android.widget.AdapterView, android.view.View,
int, long)public static final OnItemSelected.Callback NOTHING_SELECTED
AdapterView.OnItemSelectedListener.onNothingSelected(android.widget.AdapterView)public static OnItemSelected.Callback[] values()
for (OnItemSelected.Callback c : OnItemSelected.Callback.values()) System.out.println(c);
public static OnItemSelected.Callback 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