共用方式為


NumberPicker.SetOnValueChangedListener Method

Definition

Sets the listener to be notified on change of the current value.

[Android.Runtime.Register("setOnValueChangedListener", "(Landroid/widget/NumberPicker$OnValueChangeListener;)V", "GetSetOnValueChangedListener_Landroid_widget_NumberPicker_OnValueChangeListener_Handler")]
public virtual void SetOnValueChangedListener (Android.Widget.NumberPicker.IOnValueChangeListener? onValueChangedListener);
[<Android.Runtime.Register("setOnValueChangedListener", "(Landroid/widget/NumberPicker$OnValueChangeListener;)V", "GetSetOnValueChangedListener_Landroid_widget_NumberPicker_OnValueChangeListener_Handler")>]
abstract member SetOnValueChangedListener : Android.Widget.NumberPicker.IOnValueChangeListener -> unit
override this.SetOnValueChangedListener : Android.Widget.NumberPicker.IOnValueChangeListener -> unit

Parameters

onValueChangedListener
NumberPicker.IOnValueChangeListener

The listener.

Attributes

Remarks

Java documentation for android.widget.NumberPicker.setOnValueChangedListener(android.widget.OnValueChangeListener).

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