Condividi tramite


View.OnOverScrolled(Int32, Int32, Boolean, Boolean) Method

Definition

Called by #overScrollBy(int, int, int, int, int, int, int, int, boolean) to respond to the results of an over-scroll operation.

[Android.Runtime.Register("onOverScrolled", "(IIZZ)V", "GetOnOverScrolled_IIZZHandler")]
protected virtual void OnOverScrolled (int scrollX, int scrollY, bool clampedX, bool clampedY);
[<Android.Runtime.Register("onOverScrolled", "(IIZZ)V", "GetOnOverScrolled_IIZZHandler")>]
abstract member OnOverScrolled : int * int * bool * bool -> unit
override this.OnOverScrolled : int * int * bool * bool -> unit

Parameters

scrollX
Int32

New X scroll value in pixels

scrollY
Int32

New Y scroll value in pixels

clampedX
Boolean

True if scrollX was clamped to an over-scroll boundary

clampedY
Boolean

True if scrollY was clamped to an over-scroll boundary

Attributes

Remarks

Called by #overScrollBy(int, int, int, int, int, int, int, int, boolean) to respond to the results of an over-scroll operation.

Java documentation for android.view.View.onOverScrolled(int, int, boolean, boolean).

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