Dil

SparseArray<E>.Append(Int32, E) Method

Definition

Puts a key/value pair into the array, optimizing for the case where the key is greater than all existing keys in the array.

[Android.Runtime.Register("append", "(ILjava/lang/Object;)V", "")]
public virtual void Append(int key, E value);
[<Android.Runtime.Register("append", "(ILjava/lang/Object;)V", "")>]
override this.Append : int * 'E -> unit

Parameters

key
Int32
value
E
Attributes

Remarks

Puts a key/value pair into the array, optimizing for the case where the key is greater than all existing keys in the array.

Android reference for android.util.SparseArray.append.

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