次の方法で共有


ViewGroup.RemoveViewAt(Int32) Method

Definition

Removes the view at the specified position in the group.

[Android.Runtime.Register("removeViewAt", "(I)V", "GetRemoveViewAt_IHandler")]
public virtual void RemoveViewAt (int index);
[<Android.Runtime.Register("removeViewAt", "(I)V", "GetRemoveViewAt_IHandler")>]
abstract member RemoveViewAt : int -> unit
override this.RemoveViewAt : int -> unit

Parameters

index
Int32

the position in the group of the view to remove

Attributes

Remarks

Removes the view at the specified position in 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.removeViewAt(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