Share via


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

Definition

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

[Android.Runtime.Register("onScrollChanged", "(IIII)V", "GetOnScrollChanged_IIIIHandler")]
protected virtual void OnScrollChanged (int l, int t, int oldl, int oldt);
[<Android.Runtime.Register("onScrollChanged", "(IIII)V", "GetOnScrollChanged_IIIIHandler")>]
abstract member OnScrollChanged : int * int * int * int -> unit
override this.OnScrollChanged : int * int * int * int -> unit

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