Sdílet prostřednictvím


ViewGroup.OnNestedScroll(View, Int32, Int32, Int32, Int32) Method

Definition

React to a nested scroll in progress.

[Android.Runtime.Register("onNestedScroll", "(Landroid/view/View;IIII)V", "GetOnNestedScroll_Landroid_view_View_IIIIHandler")]
public virtual void OnNestedScroll (Android.Views.View? target, int dxConsumed, int dyConsumed, int dxUnconsumed, int dyUnconsumed);
[<Android.Runtime.Register("onNestedScroll", "(Landroid/view/View;IIII)V", "GetOnNestedScroll_Landroid_view_View_IIIIHandler")>]
abstract member OnNestedScroll : Android.Views.View * int * int * int * int -> unit
override this.OnNestedScroll : Android.Views.View * int * int * int * int -> unit

Parameters

target
View

The descendent view controlling the nested scroll

dxConsumed
Int32

Horizontal scroll distance in pixels already consumed by target

dyConsumed
Int32

Vertical scroll distance in pixels already consumed by target

dxUnconsumed
Int32

Horizontal scroll distance in pixels not consumed by target

dyUnconsumed
Int32

Vertical scroll distance in pixels not consumed by target

Implements

Attributes

Remarks

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