Share via


OverScroller.IsOverScrolled Property

Definition

Returns whether the current Scroller is currently returning to a valid position.

public virtual bool IsOverScrolled { [Android.Runtime.Register("isOverScrolled", "()Z", "GetIsOverScrolledHandler")] get; }
[<get: Android.Runtime.Register("isOverScrolled", "()Z", "GetIsOverScrolledHandler")>]
member this.IsOverScrolled : bool

Property Value

true when the current position is overscrolled and in the process of interpolating back to a valid value.

Attributes

Remarks

Returns whether the current Scroller is currently returning to a valid position. Valid bounds were provided by the #fling(int, int, int, int, int, int, int, int, int, int) method.

One should check this value before calling #startScroll(int, int, int, int) as the interpolation currently in progress to restore a valid position will then be stopped. The caller has to take into account the fact that the started scroll will start from an overscrolled position.

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

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