Most visited

Recently visited

Added in API level 11

NumberPicker.OnValueChangeListener

public static interface NumberPicker.OnValueChangeListener

android.widget.NumberPicker.OnValueChangeListener


接口监听当前值的变化。

Summary

Public methods

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

在改变当前值时调用。

Public methods

onValueChange

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

在改变当前值时调用。

Parameters
picker NumberPicker: The NumberPicker associated with this listener.
oldVal int: The previous value.
newVal int: The new value.

Hooray!