Most visited

Recently visited

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.

Hooray!