Android.Views.View.DispatchNestedPreScroll Method
Dispatch one step of a nested scroll in progress before this view consumes any portion of it.

Syntax

[Android.Runtime.Register("dispatchNestedPreScroll", "(II[I[I)Z", "GetDispatchNestedPreScroll_IIarrayIarrayIHandler")]
public virtual bool DispatchNestedPreScroll (int dx, int dy, int[] consumed, int[] offsetInWindow)

See Also

View.DispatchNestedScroll(int, System.Int32, System.Int32, System.Int32, System.Int32)

Parameters

dx
Horizontal scroll distance in pixels
dy
Vertical scroll distance in pixels
consumed
Output. If not null, consumed[0] will contain the consumed component of dx and consumed[1] the consumed dy.
offsetInWindow
Optional. If not null, on return this will contain the offset in local view coordinates of this view from before this operation to after it completes. View implementations may use this to adjust expected input coordinate tracking.

Returns

Documentation for this section has not yet been entered.

Remarks

Dispatch one step of a nested scroll in progress before this view consumes any portion of it.

Nested pre-scroll events are to nested scroll events what touch intercept is to touch. dispatchNestedPreScroll offers an opportunity for the parent view in a nested scrolling operation to consume some or all of the scroll operation before the child view consumes it.

[Android Documentation]

Requirements

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