public static enum PullToRefreshBase.AnimationStyle extends java.lang.Enum<PullToRefreshBase.AnimationStyle>
| Enum Constant and Description |
|---|
FLIP
This is the old default, and what is commonly used on iOS.
|
ROTATE
This is the default for Android-PullToRefresh.
|
| Modifier and Type | Method and Description |
|---|---|
static PullToRefreshBase.AnimationStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PullToRefreshBase.AnimationStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PullToRefreshBase.AnimationStyle ROTATE
public static final PullToRefreshBase.AnimationStyle FLIP
public static PullToRefreshBase.AnimationStyle[] values()
for (PullToRefreshBase.AnimationStyle c : PullToRefreshBase.AnimationStyle.values()) System.out.println(c);
public static PullToRefreshBase.AnimationStyle 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