Freigeben über


NumberPicker.IOnScrollListener.OnScrollStateChange Method

Definition

Callback invoked while the number picker scroll state has changed.

[Android.Runtime.Register("onScrollStateChange", "(Landroid/widget/NumberPicker;I)V", "GetOnScrollStateChange_Landroid_widget_NumberPicker_IHandler:Android.Widget.NumberPicker/IOnScrollListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnScrollStateChange (Android.Widget.NumberPicker? view, Android.Widget.NumberPickerScrollState scrollState);
[<Android.Runtime.Register("onScrollStateChange", "(Landroid/widget/NumberPicker;I)V", "GetOnScrollStateChange_Landroid_widget_NumberPicker_IHandler:Android.Widget.NumberPicker/IOnScrollListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnScrollStateChange : Android.Widget.NumberPicker * Android.Widget.NumberPickerScrollState -> unit

Parameters

view
NumberPicker

The view whose scroll state is being reported.

scrollState
NumberPickerScrollState

The current scroll state. One of #SCROLL_STATE_IDLE, #SCROLL_STATE_TOUCH_SCROLL or #SCROLL_STATE_IDLE.

Attributes

Remarks

Callback invoked while the number picker scroll state has changed.

Java documentation for android.widget.NumberPicker.OnScrollListener.onScrollStateChange(android.widget.NumberPicker, 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