Android.Views.View.AwakenScrollBars Method

Syntax

[Android.Runtime.Register("awakenScrollBars", "(IZ)Z", "GetAwakenScrollBars_IZHandler")]
protected virtual bool AwakenScrollBars (int startDelay, bool invalidate)

See Also

View.ScrollBy(int, System.Int32)
View.ScrollTo(int, System.Int32)
View.HorizontalScrollBarEnabled
View.VerticalScrollBarEnabled
View.HorizontalScrollBarEnabled
View.VerticalScrollBarEnabled

Parameters

startDelay
the delay, in milliseconds, after which the animation should start; when the delay is 0, the animation starts immediately
invalidate
Wheter this method should call invalidate

Returns

Documentation for this section has not yet been entered.

Remarks

Trigger the scrollbars to draw. When invoked this method starts an animation to fade the scrollbars out after a fixed delay. If a subclass provides animated scrolling, the start delay should equal the duration of the scrolling animation.

The animation starts only if at least one of the scrollbars is enabled, as specified by View.HorizontalScrollBarEnabled and View.VerticalScrollBarEnabled. When the animation is started, this method returns true, and false otherwise. If the animation is started, this method calls View.Invalidate if the invalidate parameter is set to true; in that case the caller should not call View.Invalidate.

This method should be invoked everytime a subclass directly updates the scroll parameters.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 5