Share via


HorizontalScrollView.Fling(Int32) Method

Definition

Fling the scroll view

[Android.Runtime.Register("fling", "(I)V", "GetFling_IHandler")]
public virtual void Fling (int velocityX);
[<Android.Runtime.Register("fling", "(I)V", "GetFling_IHandler")>]
abstract member Fling : int -> unit
override this.Fling : int -> unit

Parameters

velocityX
Int32

The initial velocity in the X direction. Positive numbers mean that the finger/cursor is moving down the screen, which means we want to scroll towards the left.

Attributes

Remarks

Fling the scroll view

Java documentation for android.widget.HorizontalScrollView.fling(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