to top
Android APIs
Since: API Level 11
public static interface

NumberPicker.OnValueChangeListener

android.widget.NumberPicker.OnValueChangeListener

Class Overview

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

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

Since: API Level 11

Called upon a change of the current value.

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