Share via


ViewGroup.OnNestedPreFling(View, Single, Single) Method

Definition

React to a nested fling before the target view consumes it.

[Android.Runtime.Register("onNestedPreFling", "(Landroid/view/View;FF)Z", "GetOnNestedPreFling_Landroid_view_View_FFHandler")]
public virtual bool OnNestedPreFling (Android.Views.View? target, float velocityX, float velocityY);
[<Android.Runtime.Register("onNestedPreFling", "(Landroid/view/View;FF)Z", "GetOnNestedPreFling_Landroid_view_View_FFHandler")>]
abstract member OnNestedPreFling : Android.Views.View * single * single -> bool
override this.OnNestedPreFling : Android.Views.View * single * single -> bool

Parameters

target
View

View that initiated the nested scroll

velocityX
Single

Horizontal velocity in pixels per second

velocityY
Single

Vertical velocity in pixels per second

Returns

Implements

Attributes

Remarks

Java documentation for android.view.ViewGroup.onNestedPreFling(android.view.View, float, float).

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