The members of Android.Widget.Scroller are listed below.
See Also: Inherited members from Java.Lang.Object
Public Constructors
| | Create a Scroller with the default duration and interpolator. |
| | Create a Scroller with the specified interpolator. |
| | Create a Scroller with the specified interpolator. |
Protected Constructors
| | A constructor used when creating managed representations of JNI objects; called by the runtime. |
Public Properties
[read-only] | CurrVelocity | float. Returns the current velocity. |
[read-only] | CurrX | int. Returns the current X offset in the scroll. |
[read-only] | CurrY | int. Returns the current Y offset in the scroll. |
[read-only] | Duration | int. Returns how long the scroll event will take, in milliseconds. |
| FinalX | int. Returns where the scroll will end. |
| FinalY | int. Returns where the scroll will end. |
[read-only] | IsFinished | bool. Returns whether the scroller has finished scrolling. |
[read-only] | StartX | int. Returns the start X offset in the scroll. |
[read-only] | StartY | int. Returns the start Y offset in the scroll. |
Protected Properties
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Public Methods
| AbortAnimation()Stops the animation. |
| ComputeScrollOffset() : boolCall this when you want to know the new location. |
| ExtendDuration(int)Extend the scroll animation. |
| Fling(int, int, int, int, int, int, int, int)Start scrolling based on a fling gesture. |
| ForceFinished(bool)Force the finished field to a particular value. |
| SetFriction(float)The amount of friction applied to flings. |
| StartScroll(int, int, int, int)Start scrolling by providing a starting point and the distance to travel. |
| StartScroll(int, int, int, int, int)Start scrolling by providing a starting point, the distance to travel,
and the duration of the scroll. |
| TimePassed() : intReturns the time elapsed since the beginning of the scrolling. |