Udostępnij za pośrednictwem


ScrollView.Fling(Int32) Method

Definition

Fling the scroll view

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

Parameters

velocityY
Int32

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

Attributes

Remarks

Fling the scroll view

Java documentation for android.widget.ScrollView.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