public static enum OnPageChange.Callback extends 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(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(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.