public static enum OnItemSelected.Callback extends 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(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2013-2015. All Rights Reserved.