notifyVerticalEdgeReached

open fun notifyVerticalEdgeReached(startY: Int, finalY: Int, overY: Int)(source)

Deprecated

Use notifyVerticalEdgeReached directly.

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.

Parameters

startY

Starting/current Y position

finalY

Desired final Y position

overY

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