Android.Views.ViewGroup.RemoveViewsInLayout Method
Removes a range of views during layout.

Syntax

[Android.Runtime.Register("removeViewsInLayout", "(II)V", "GetRemoveViewsInLayout_IIHandler")]
public virtual void RemoveViewsInLayout (int start, int count)

Parameters

start
the index of the first view to remove from the group
count
the number of views to remove from the group

Remarks

Removes a range of views 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