| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static int |
STATE_DRAGGING |
Indicates the touch scroll state.
|
static int |
STATE_FLING |
Indicates the fling scroll state.
|
static int |
STATE_HALT |
Indicates the idle state.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
onScrollStateUpdated(Picker picker,
int scrollState) |
Callback to process scroll state change events of a
Picker instance. |
static final int STATE_DRAGGING
The Picker instance is scrolled on a touchscreen.
static final int STATE_FLING
The scrolling has stopped while the number picker continues to fling.
void onScrollStateUpdated(Picker picker, int scrollState)
Picker instance.picker - Indicates the Picker instance with a changed scroll state.scrollState - Indicates the scroll state of the number picker, including:
STATE_HALT,
STATE_DRAGGING,
and STATE_FLING.