Java android.widget Scroller fields, constructors, methods, implement or subclass

Example usage for Java android.widget Scroller fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.widget Scroller.

The text is from its open source code.

Subclass

android.widget.Scroller has subclasses.
Click this link to see all its subclasses.

Constructor

Scroller(Context context)
Create a Scroller with the default duration and interpolator.
Scroller(Context context, Interpolator interpolator)
Create a Scroller with the specified interpolator.
Scroller(Context context, Interpolator interpolator, boolean flywheel)
Create a Scroller with the specified interpolator.

Method

booleancomputeScrollOffset()
Call this when you want to know the new location.
voidforceFinished(boolean finished)
Force the finished field to a particular value.
intgetCurrY()
Returns the current Y offset in the scroll.
intgetFinalY()
Returns where the scroll will end.
intgetStartY()
Returns the start Y offset in the scroll.
booleanisFinished()
Returns whether the scroller has finished scrolling.