Sdílet prostřednictvím


NumberPicker.IOnValueChangeListener.OnValueChange Method

Definition

Called upon a change of the current value.

[Android.Runtime.Register("onValueChange", "(Landroid/widget/NumberPicker;II)V", "GetOnValueChange_Landroid_widget_NumberPicker_IIHandler:Android.Widget.NumberPicker/IOnValueChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnValueChange (Android.Widget.NumberPicker? picker, int oldVal, int newVal);
[<Android.Runtime.Register("onValueChange", "(Landroid/widget/NumberPicker;II)V", "GetOnValueChange_Landroid_widget_NumberPicker_IIHandler:Android.Widget.NumberPicker/IOnValueChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnValueChange : Android.Widget.NumberPicker * int * int -> unit

Parameters

picker
NumberPicker

The NumberPicker associated with this listener.

oldVal
Int32

The previous value.

newVal
Int32

The new value.

Attributes

Remarks

Called upon a change of the current value.

Java documentation for android.widget.NumberPicker.OnValueChangeListener.onValueChange(android.widget.NumberPicker, int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to