Share via


OverScroller.NotifyHorizontalEdgeReached(Int32, Int32, Int32) Method

Definition

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

[Android.Runtime.Register("notifyHorizontalEdgeReached", "(III)V", "GetNotifyHorizontalEdgeReached_IIIHandler")]
public virtual void NotifyHorizontalEdgeReached (int startX, int finalX, int overX);
[<Android.Runtime.Register("notifyHorizontalEdgeReached", "(III)V", "GetNotifyHorizontalEdgeReached_IIIHandler")>]
abstract member NotifyHorizontalEdgeReached : int * int * int -> unit
override this.NotifyHorizontalEdgeReached : int * int * int -> unit

Parameters

startX
Int32

Starting/current X position

finalX
Int32

Desired final X position

overX
Int32

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

Attributes

Remarks

Notify the scroller that we've reached a horizontal 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 transition the current motion and animate from startX to finalX as appropriate.

Java documentation for android.widget.OverScroller.notifyHorizontalEdgeReached(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