共用方式為


NumberPicker.SetOnScrollListener(NumberPicker+IOnScrollListener) Method

Definition

Set listener to be notified for scroll state changes.

[Android.Runtime.Register("setOnScrollListener", "(Landroid/widget/NumberPicker$OnScrollListener;)V", "GetSetOnScrollListener_Landroid_widget_NumberPicker_OnScrollListener_Handler")]
public virtual void SetOnScrollListener (Android.Widget.NumberPicker.IOnScrollListener? onScrollListener);
[<Android.Runtime.Register("setOnScrollListener", "(Landroid/widget/NumberPicker$OnScrollListener;)V", "GetSetOnScrollListener_Landroid_widget_NumberPicker_OnScrollListener_Handler")>]
abstract member SetOnScrollListener : Android.Widget.NumberPicker.IOnScrollListener -> unit
override this.SetOnScrollListener : Android.Widget.NumberPicker.IOnScrollListener -> unit

Parameters

onScrollListener
NumberPicker.IOnScrollListener

The listener.

Attributes

Remarks

Java documentation for android.widget.NumberPicker.setOnScrollListener(android.widget.OnScrollListener).

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