共用方式為


AbsListView.SetOnScrollListener(AbsListView+IOnScrollListener) Method

Definition

Set the listener that will receive notifications every time the list scrolls.

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

Parameters

l
AbsListView.IOnScrollListener

the scroll listener

Attributes

Remarks

Java documentation for android.widget.AbsListView.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