to top
Android APIs
Added in 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

? Examples
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)

Added in 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.
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.