View.OnScrollChanged(Int32, Int32, Int32, Int32) Method

Definition

This is called in response to an internal scroll in this view (i.

C#
[Android.Runtime.Register("onScrollChanged", "(IIII)V", "GetOnScrollChanged_IIIIHandler")]
protected virtual void OnScrollChanged (int l, int t, int oldl, int oldt);

Parameters

l
Int32

Current horizontal scroll origin.

t
Int32

Current vertical scroll origin.

oldl
Int32

Previous horizontal scroll origin.

oldt
Int32

Previous vertical scroll origin.

Attributes

Remarks

This is called in response to an internal scroll in this view (i.e., the view scrolled its own contents). This is typically as a result of #scrollBy(int, int) or #scrollTo(int, int) having been called.

Java documentation for android.view.View.onScrollChanged(int, int, int, 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

Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35