Android.Views.ViewGroup.RemoveViewInLayout Method
Removes a view during layout.

Syntax

[Android.Runtime.Register("removeViewInLayout", "(Landroid/view/View;)V", "GetRemoveViewInLayout_Landroid_view_View_Handler")]
public virtual void RemoveViewInLayout (View view)

Parameters

view
the view to remove from the group

Remarks

Removes a view during layout. This is useful if in your onLayout() method, you need to remove more views.

Note: do not invoke this method from View.Draw(Android.Graphics.Canvas), View.OnDraw(Android.Graphics.Canvas), ViewGroup.dispatchDraw(android.graphics.Canvas) or any related method.

[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