Share via


View.ComputeScroll Method

Definition

Called by a parent to request that a child update its values for mScrollX and mScrollY if necessary.

[Android.Runtime.Register("computeScroll", "()V", "GetComputeScrollHandler")]
public virtual void ComputeScroll ();
[<Android.Runtime.Register("computeScroll", "()V", "GetComputeScrollHandler")>]
abstract member ComputeScroll : unit -> unit
override this.ComputeScroll : unit -> unit
Attributes

Remarks

Called by a parent to request that a child update its values for mScrollX and mScrollY if necessary. This will typically be done if the child is animating a scroll using a android.widget.Scroller Scroller object.

Java documentation for android.view.View.computeScroll().

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