public static enum PullToRefreshBase.State extends java.lang.Enum<PullToRefreshBase.State>
| Enum Constant and Description |
|---|
MANUAL_REFRESHING
When the UI is currently refreshing, caused by a call to
setRefreshing(). |
OVERSCROLLING
When the UI is currently overscrolling, caused by a fling on the
Refreshable View.
|
PULL_TO_REFRESH
When the UI is being pulled by the user, but has not been pulled far
enough so that it refreshes when released.
|
REFRESHING
When the UI is currently refreshing, caused by a pull gesture.
|
RELEASE_TO_REFRESH
When the UI is being pulled by the user, and has
been pulled far enough so that it will refresh when released.
|
RESET
When the UI is in a state which means that user is not interacting
with the Pull-to-Refresh function.
|
| Modifier and Type | Method and Description |
|---|---|
static PullToRefreshBase.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PullToRefreshBase.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PullToRefreshBase.State RESET
public static final PullToRefreshBase.State PULL_TO_REFRESH
public static final PullToRefreshBase.State RELEASE_TO_REFRESH
public static final PullToRefreshBase.State REFRESHING
public static final PullToRefreshBase.State MANUAL_REFRESHING
setRefreshing().public static final PullToRefreshBase.State OVERSCROLLING
public static PullToRefreshBase.State[] values()
for (PullToRefreshBase.State c : PullToRefreshBase.State.values()) System.out.println(c);
public static PullToRefreshBase.State 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