共用方式為


SparseArray<E> Constructors

Definition

Overloads

SparseArray<E>()
SparseArray<E>(Int32)

SparseArray<E>()

public SparseArray ();

Remarks

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

SparseArray<E>(Int32)

public SparseArray (int capacity);
new Android.Util.SparseArray<'E> : int -> Android.Util.SparseArray<'E>

Parameters

capacity
Int32

Remarks

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