Android.Views.ViewTreeObserver.AddOnScrollChangedListener Method
Register a callback to be invoked when a view has been scrolled.

Syntax

[Android.Runtime.Register("addOnScrollChangedListener", "(Landroid/view/ViewTreeObserver$OnScrollChangedListener;)V", "")]
public void AddOnScrollChangedListener (ViewTreeObserver.IOnScrollChangedListener listener)

Parameters

listener
The callback to add

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionIf ViewTreeObserver.IsAlive returns false

Remarks

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

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3