Android.Views.View.PostInvalidateDelayed Method

Syntax

[Android.Runtime.Register("postInvalidateDelayed", "(JIIII)V", "GetPostInvalidateDelayed_JIIIIHandler")]
public virtual void PostInvalidateDelayed (long delayMilliseconds, int left, int top, int right, int bottom)

See Also

View.Invalidate(int, System.Int32, System.Int32, System.Int32)
View.Invalidate(Android.Graphics.Rect)
View.PostInvalidate(int, System.Int32, System.Int32, System.Int32)

Parameters

delayMilliseconds
the duration in milliseconds to delay the invalidation by
left
The left coordinate of the rectangle to invalidate.
top
The top coordinate of the rectangle to invalidate.
right
The right coordinate of the rectangle to invalidate.
bottom
The bottom coordinate of the rectangle to invalidate.

Remarks

Cause an invalidate of the specified area to happen on a subsequent cycle through the event loop. Waits for the specified amount of time.

This method can be invoked from outside of the UI thread only when this View is attached to a window.

[Android Documentation]

Requirements

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