public static interface NumberPicker.OnScrollListener
| Modifier and Type | Interface and Description |
|---|---|
static interface |
NumberPicker.OnScrollListener.ScrollState |
| Modifier and Type | Field and Description |
|---|---|
static int |
SCROLL_STATE_FLING
The user had previously been scrolling using touch and performed a fling.
|
static int |
SCROLL_STATE_IDLE
The view is not scrolling.
|
static int |
SCROLL_STATE_TOUCH_SCROLL
The user is scrolling using touch, and his finger is still on the screen.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onScrollStateChange(NumberPicker view,
int scrollState)
Callback invoked while the number picker scroll state has changed.
|
static final int SCROLL_STATE_IDLE
static final int SCROLL_STATE_TOUCH_SCROLL
static final int SCROLL_STATE_FLING
void onScrollStateChange(NumberPicker view, int scrollState)
view - The view whose scroll state is being reported.scrollState - The current scroll state. One of
SCROLL_STATE_IDLE,
SCROLL_STATE_TOUCH_SCROLL or
SCROLL_STATE_IDLE.