android.widget.NumberPicker.OnScrollListener |
Interface to listen for the picker scroll state.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | SCROLL_STATE_FLING | The user had previously been scrolling using touch and performed a fling. | |||||||||
int | SCROLL_STATE_IDLE | The view is not scrolling. | |||||||||
int | SCROLL_STATE_TOUCH_SCROLL | The user is scrolling using touch, and his finger is still on the screen. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Callback invoked while the number picker scroll state has changed.
|
The user had previously been scrolling using touch and performed a fling.
The view is not scrolling.
The user is scrolling using touch, and his finger is still on the screen.
Callback invoked while the number picker scroll state has changed.
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
.
|