# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

# NumberPicker.OnScrollListener

`public static interface NumberPicker.OnScrollListener`
``

android.widget.NumberPicker.OnScrollListener

Interface to listen for the picker scroll state.

## Summary

### 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
`abstract void` | `onScrollStateChange(NumberPicker view, int scrollState)` Callback invoked while the number picker scroll state has changed.

## Constants

### SCROLL_STATE_FLING

    public static final int SCROLL_STATE_FLING

The user had previously been scrolling using touch and performed a fling.

Constant Value: 2 (0x00000002)

### SCROLL_STATE_IDLE

    public static final int SCROLL_STATE_IDLE

The view is not scrolling.

Constant Value: 0 (0x00000000)

### SCROLL_STATE_TOUCH_SCROLL

    public static final int SCROLL_STATE_TOUCH_SCROLL

The user is scrolling using touch, and his finger is still on the screen.

Constant Value: 1 (0x00000001)

## Public methods

### onScrollStateChange

    public abstract void onScrollStateChange (NumberPicker view,
                    int scrollState)

Callback invoked while the number picker scroll state has changed.

Parameters
`view` | `NumberPicker`: The view whose scroll state is being reported.
`scrollState` | `int`: The current scroll state. One of `SCROLL_STATE_IDLE`, `SCROLL_STATE_TOUCH_SCROLL` or `SCROLL_STATE_IDLE`. Value is `SCROLL_STATE_IDLE`, `SCROLL_STATE_TOUCH_SCROLL`, or `SCROLL_STATE_FLING`

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*