public static enum OnPageChange.Callback extends java.lang.Enum<OnPageChange.Callback>
ViewPager.OnPageChangeListener callback methods.| Enum Constant and Description |
|---|
PAGE_SCROLL_STATE_CHANGED
onPageScrollStateChanged(int) |
PAGE_SCROLLED
onPageScrolled(int, float, int) |
PAGE_SELECTED
onPageSelected(int) |
| Modifier and Type | Method and Description |
|---|---|
static OnPageChange.Callback |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OnPageChange.Callback[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OnPageChange.Callback PAGE_SELECTED
onPageSelected(int)public static final OnPageChange.Callback PAGE_SCROLLED
onPageScrolled(int, float, int)public static final OnPageChange.Callback PAGE_SCROLL_STATE_CHANGED
onPageScrollStateChanged(int)public static OnPageChange.Callback[] values()
for (OnPageChange.Callback c : OnPageChange.Callback.values()) System.out.println(c);
public static OnPageChange.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