Scroller.ComputeScrollOffset Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
true if the animation was unfinished when this method was called, including when this call reaches the final position and marks the animation finished; false if the animation was already finished when this method was called.
- Attributes
Remarks
Call this when you want to know the new location. It returns false if the animation was already finished on entry. If it returns true, use the updated offsets, even if this call reaches the final position and sets IsFinished to true.
Java documentation for android.widget.Scroller.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.