ViewGroup.OnNestedFling(View, Single, Single, Boolean) ViewGroup.OnNestedFling(View, Single, Single, Boolean) Method

Definition

Request a fling from a nested scroll.

[Android.Runtime.Register("onNestedFling", "(Landroid/view/View;FFZ)Z", "GetOnNestedFling_Landroid_view_View_FFZHandler")]
public virtual bool OnNestedFling (Android.Views.View target, float velocityX, float velocityY, bool consumed);
abstract member OnNestedFling : Android.Views.View * single * single * bool -> bool
override this.OnNestedFling : Android.Views.View * single * single * bool -> bool

Parameters

target
View View

View that initiated the nested scroll

velocityX
Single Single

Horizontal velocity in pixels per second

velocityY
Single Single

Vertical velocity in pixels per second

consumed
Boolean Boolean

true if the child consumed the fling, false otherwise

Returns

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