ViewTreeObserver.AddOnScrollChangedListener Method

Definition

Register a callback to be invoked when a view has been scrolled.

[Android.Runtime.Register("addOnScrollChangedListener", "(Landroid/view/ViewTreeObserver$OnScrollChangedListener;)V", "")]
public void AddOnScrollChangedListener (Android.Views.ViewTreeObserver.IOnScrollChangedListener? listener);
[<Android.Runtime.Register("addOnScrollChangedListener", "(Landroid/view/ViewTreeObserver$OnScrollChangedListener;)V", "")>]
member this.AddOnScrollChangedListener : Android.Views.ViewTreeObserver.IOnScrollChangedListener -> unit

Parameters

listener
ViewTreeObserver.IOnScrollChangedListener

The callback to add

Attributes

Exceptions

If IsAlive returns false

Remarks

Java documentation for android.view.ViewTreeObserver.addOnScrollChangedListener(android.view.OnScrollChangedListener).

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