Udostępnij za pośrednictwem


ViewGroup.RemoveViews(Int32, Int32) Method

Definition

Removes the specified range of views from the group.

[Android.Runtime.Register("removeViews", "(II)V", "GetRemoveViews_IIHandler")]
public virtual void RemoveViews (int start, int count);
[<Android.Runtime.Register("removeViews", "(II)V", "GetRemoveViews_IIHandler")>]
abstract member RemoveViews : int * int -> unit
override this.RemoveViews : int * int -> unit

Parameters

start
Int32

the first position in the group of the range of views to remove

count
Int32

the number of views to remove

Attributes

Remarks

Removes the specified range of views from the group.

<strong>Note:</strong> do not invoke this method from #draw(android.graphics.Canvas), #onDraw(android.graphics.Canvas), #dispatchDraw(android.graphics.Canvas) or any related method.

Java documentation for android.view.ViewGroup.removeViews(int, int).

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