Freigeben über


AbsListView.SetFriction(Single) Method

Definition

The amount of friction applied to flings.

[Android.Runtime.Register("setFriction", "(F)V", "GetSetFriction_FHandler")]
public virtual void SetFriction (float friction);
[<Android.Runtime.Register("setFriction", "(F)V", "GetSetFriction_FHandler")>]
abstract member SetFriction : single -> unit
override this.SetFriction : single -> unit

Parameters

friction
Single
Attributes

Remarks

The amount of friction applied to flings. The default value is ViewConfiguration#getScrollFriction.

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