Skip to content

Most visited

Recently visited

navigation
Added in API level 11

NumberPicker.OnValueChangeListener

public static interface NumberPicker.OnValueChangeListener

android.widget.NumberPicker.OnValueChangeListener


Interface to listen for changes of the current value.

Summary

Public methods

abstract void onValueChange(NumberPicker picker, int oldVal, int newVal)

Called upon a change of the current value.

Public methods

onValueChange

Added in API level 11
void onValueChange (NumberPicker picker, 
                int oldVal, 
                int newVal)

Called upon a change of the current value.

Parameters
picker NumberPicker: The NumberPicker associated with this listener.
oldVal int: The previous value.
newVal int: The new value.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.