Udostępnij za pośrednictwem


OverScroller.ForceFinished(Boolean) Method

Definition

Force the finished field to a particular value.

[Android.Runtime.Register("forceFinished", "(Z)V", "")]
public void ForceFinished (bool finished);
[<Android.Runtime.Register("forceFinished", "(Z)V", "")>]
member this.ForceFinished : bool -> unit

Parameters

finished
Boolean

The new finished value.

Attributes

Remarks

Force the finished field to a particular value. Contrary to #abortAnimation(), forcing the animation to finished does NOT cause the scroller to move to the final x and y position.

Java documentation for android.widget.OverScroller.forceFinished(boolean).

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