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
public abstract 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.