Sdílet prostřednictvím


ViewGroup.OnNestedScrollAccepted(View, View, ScrollAxis) Method

Definition

React to the successful claiming of a nested scroll operation.

[Android.Runtime.Register("onNestedScrollAccepted", "(Landroid/view/View;Landroid/view/View;I)V", "GetOnNestedScrollAccepted_Landroid_view_View_Landroid_view_View_IHandler")]
public virtual void OnNestedScrollAccepted (Android.Views.View? child, Android.Views.View? target, Android.Views.ScrollAxis axes);
[<Android.Runtime.Register("onNestedScrollAccepted", "(Landroid/view/View;Landroid/view/View;I)V", "GetOnNestedScrollAccepted_Landroid_view_View_Landroid_view_View_IHandler")>]
abstract member OnNestedScrollAccepted : Android.Views.View * Android.Views.View * Android.Views.ScrollAxis -> unit
override this.OnNestedScrollAccepted : Android.Views.View * Android.Views.View * Android.Views.ScrollAxis -> unit

Parameters

child
View

Direct child of this ViewParent containing target

target
View

View that initiated the nested scroll

axes
ScrollAxis

Flags consisting of ScrollAxisHorizontal, ScrollAxisVertical or both

Implements

Attributes

Remarks

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