|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface NumberPicker.OnScrollListener
Interface to listen for the picker scroll state.
| Field Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
void |
onScrollStateChange(NumberPicker view,
int scrollState)
Callback invoked while the number picker scroll state has changed. |
| Field Detail |
|---|
static final int SCROLL_STATE_IDLE
static final int SCROLL_STATE_TOUCH_SCROLL
static final int SCROLL_STATE_FLING
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||