belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
Deprecated since version 26.1.0
ScrollerCompat
public
final
class
ScrollerCompat
extends Object
java.lang.Object | |
↳ | android.support.v4.widget.ScrollerCompat |
This class was deprecated
in API level 26.1.0.
Use OverScroller
directly.
Provides access to new Scroller
APIs when available.
This class provides a platform version-independent mechanism for obeying the current device's preferred scroll physics and fling behavior. It offers a subset of the APIs from Scroller or OverScroller.
Summary
Public methods | |
---|---|
void
|
abortAnimation()
This method was deprecated
in API level 26.1.0.
Use |
boolean
|
computeScrollOffset()
This method was deprecated
in API level 26.1.0.
Use |
static
ScrollerCompat
|
create(Context context, Interpolator interpolator)
This method was deprecated
in API level 26.1.0.
Use |
static
ScrollerCompat
|
create(Context context)
This method was deprecated
in API level 26.1.0.
Use |
void
|
fling(int startX, int startY, int velocityX, int velocityY, int minX, int maxX, int minY, int maxY)
This method was deprecated
in API level 26.1.0.
Use |
void
|
fling(int startX, int startY, int velocityX, int velocityY, int minX, int maxX, int minY, int maxY, int overX, int overY)
This method was deprecated
in API level 26.1.0.
Use |
float
|
getCurrVelocity()
This method was deprecated
in API level 26.1.0.
Use |
int
|
getCurrX()
This method was deprecated
in API level 26.1.0.
Use |
int
|
getCurrY()
This method was deprecated
in API level 26.1.0.
Use |
int
|
getFinalX()
This method was deprecated
in API level 26.1.0.
Use |
int
|
getFinalY()
This method was deprecated
in API level 26.1.0.
Use |
boolean
|
isFinished()
This method was deprecated
in API level 26.1.0.
Use |
boolean
|
isOverScrolled()
This method was deprecated
in API level 26.1.0.
Use |
void
|
notifyHorizontalEdgeReached(int startX, int finalX, int overX)
This method was deprecated
in API level 26.1.0.
Use |
void
|
notifyVerticalEdgeReached(int startY, int finalY, int overY)
This method was deprecated
in API level 26.1.0.
Use |
boolean
|
springBack(int startX, int startY, int minX, int maxX, int minY, int maxY)
This method was deprecated
in API level 26.1.0.
Use |
void
|
< |