OverScroller.NotifyVerticalEdgeReached(Int32, Int32, Int32) Method

Definition

Notify the scroller that we've reached a vertical boundary.

[Android.Runtime.Register("notifyVerticalEdgeReached", "(III)V", "GetNotifyVerticalEdgeReached_IIIHandler")]
public virtual void NotifyVerticalEdgeReached (int startY, int finalY, int overY);
[<Android.Runtime.Register("notifyVerticalEdgeReached", "(III)V", "GetNotifyVerticalEdgeReached_IIIHandler")>]
abstract member NotifyVerticalEdgeReached : int * int * int -> unit
override this.NotifyVerticalEdgeReached : int * int * int -> unit

Parameters

startY
Int32

Starting/current Y position

finalY
Int32

Desired final Y position

overY
Int32

Magnitude of overscroll allowed. This should be the maximum desired distance from finalY. Absolute value - must be positive.

Attributes

Remarks

Notify the scroller that we've reached a vertical boundary. Normally the information to handle this will already be known when the animation is started, such as in a call to one of the fling functions. However there are cases where this cannot be known in advance. This function will animate a parabolic motion from startY to finalY.

Java documentation for android.widget.OverScroller.notifyVerticalEdgeReached(int, int, int).

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