Udostępnij za pośrednictwem


OverScroller.ComputeScrollOffset Method

Definition

Call this when you want to know the new location.

[Android.Runtime.Register("computeScrollOffset", "()Z", "GetComputeScrollOffsetHandler")]
public virtual bool ComputeScrollOffset ();
[<Android.Runtime.Register("computeScrollOffset", "()Z", "GetComputeScrollOffsetHandler")>]
abstract member ComputeScrollOffset : unit -> bool
override this.ComputeScrollOffset : unit -> bool

Returns

Attributes

Remarks

Call this when you want to know the new location. If it returns true, the animation is not yet finished.

Java documentation for android.widget.OverScroller.computeScrollOffset().

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