Android.Widget.Scroller Members

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]
CurrVelocityfloat. Returns the current velocity.
[read-only]
CurrXint. Returns the current X offset in the scroll.
[read-only]
CurrYint. Returns the current Y offset in the scroll.
[read-only]
Durationint. Returns how long the scroll event will take, in milliseconds.
FinalXint. Returns where the scroll will end.
FinalYint. Returns where the scroll will end.
[read-only]
IsFinishedbool. Returns whether the scroller has finished scrolling.
[read-only]
StartXint. Returns the start X offset in the scroll.
[read-only]
StartYint. Returns the start Y offset in the scroll.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. 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() : bool
Call 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() : int
Returns the time elapsed since the beginning of the scrolling.