Compartilhar via


ViewGroup.InvalidateChild(View, Rect) Method

Definition

Don't call or override this method.

[Android.Runtime.Register("invalidateChild", "(Landroid/view/View;Landroid/graphics/Rect;)V", "")]
public void InvalidateChild (Android.Views.View? child, Android.Graphics.Rect? dirty);
[<Android.Runtime.Register("invalidateChild", "(Landroid/view/View;Landroid/graphics/Rect;)V", "")>]
abstract member InvalidateChild : Android.Views.View * Android.Graphics.Rect -> unit
override this.InvalidateChild : Android.Views.View * Android.Graphics.Rect -> unit

Parameters

child
View

The child which is dirty

dirty
Rect

The area within the child that is invalid

Implements

Attributes

Remarks

Don't call or override this method. It is used for the implementation of the view hierarchy.

This member is deprecated. Use #onDescendantInvalidated(View, View) instead to observe updates to draw state in descendants.

Java documentation for android.view.ViewGroup.invalidateChild(android.view.View, android.graphics.Rect).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to