ViewGroup.OnNestedPreScroll(View, Int32, Int32, Int32[]) ViewGroup.OnNestedPreScroll(View, Int32, Int32, Int32[]) Method

Definition

React to a nested scroll in progress before the target view consumes a portion of the scroll.

[Android.Runtime.Register("onNestedPreScroll", "(Landroid/view/View;II[I)V", "GetOnNestedPreScroll_Landroid_view_View_IIarrayIHandler")]
public virtual void OnNestedPreScroll (Android.Views.View target, int dx, int dy, int[] consumed);
abstract member OnNestedPreScroll : Android.Views.View * int * int * int[] -> unit
override this.OnNestedPreScroll : Android.Views.View * int * int * int[] -> unit

Parameters

target
View View

View that initiated the nested scroll

dx
Int32 Int32

Horizontal scroll distance in pixels

dy
Int32 Int32

Vertical scroll distance in pixels

consumed
Int32[]

Output. The horizontal and vertical scroll distance consumed by this parent

Implements

Remarks

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