Udostępnij za pośrednictwem


View.SetOnScrollChangeListener(View+IOnScrollChangeListener) Method

Definition

Register a callback to be invoked when the scroll X or Y positions of this view change.

[Android.Runtime.Register("setOnScrollChangeListener", "(Landroid/view/View$OnScrollChangeListener;)V", "GetSetOnScrollChangeListener_Landroid_view_View_OnScrollChangeListener_Handler", ApiSince=23)]
public virtual void SetOnScrollChangeListener (Android.Views.View.IOnScrollChangeListener? l);
[<Android.Runtime.Register("setOnScrollChangeListener", "(Landroid/view/View$OnScrollChangeListener;)V", "GetSetOnScrollChangeListener_Landroid_view_View_OnScrollChangeListener_Handler", ApiSince=23)>]
abstract member SetOnScrollChangeListener : Android.Views.View.IOnScrollChangeListener -> unit
override this.SetOnScrollChangeListener : Android.Views.View.IOnScrollChangeListener -> unit

Parameters

l
View.IOnScrollChangeListener

The listener to notify when the scroll X or Y position changes.

Attributes

Remarks

Java documentation for android.view.View.setOnScrollChangeListener(android.view.OnScrollChangeListener).

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