Android.Views.View.Invalidate Method
Mark the area defined by dirty as needing to be drawn.

Syntax

[Android.Runtime.Register("invalidate", "(Landroid/graphics/Rect;)V", "GetInvalidate_Landroid_graphics_Rect_Handler")]
public virtual void Invalidate (Android.Graphics.Rect dirty)

Parameters

dirty
the rectangle representing the bounds of the dirty region

Remarks

Mark the area defined by dirty as needing to be drawn. If the view is visible, View.OnDraw(Android.Graphics.Canvas) will be called at some point in the future.

This must be called from a UI thread. To call from a non-UI thread, call View.PostInvalidate.

WARNING: In API 19 and below, this method may be destructive to dirty.

[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