Added in API level 11

OnValueChangeListener


interface OnValueChangeListener
android.widget.NumberPicker.OnValueChangeListener

Interface to listen for changes of the current value.

Summary

Public methods
abstract Unit
onValueChange(picker: NumberPicker!, oldVal: Int, newVal: Int)

Called upon a change of the current value.

Public methods

onValueChange

Added in API level 11
abstract fun onValueChange(
    picker: NumberPicker!,
    oldVal: Int,
    newVal: Int
): Unit

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.