Udostępnij za pośrednictwem


AbsListView.SetVelocityScale(Single) Method

Definition

Sets a scale factor for the fling velocity.

[Android.Runtime.Register("setVelocityScale", "(F)V", "GetSetVelocityScale_FHandler")]
public virtual void SetVelocityScale (float scale);
[<Android.Runtime.Register("setVelocityScale", "(F)V", "GetSetVelocityScale_FHandler")>]
abstract member SetVelocityScale : single -> unit
override this.SetVelocityScale : single -> unit

Parameters

scale
Single

The scale factor to multiply the velocity by.

Attributes

Remarks

Sets a scale factor for the fling velocity. The initial scale factor is 1.0.

Java documentation for android.widget.AbsListView.setVelocityScale(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