Udostępnij za pośrednictwem


SparseIntArray.Append(Int32, Int32) 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", "(II)V", "GetAppend_IIHandler")]
public virtual void Append (int key, int value);
[<Android.Runtime.Register("append", "(II)V", "GetAppend_IIHandler")>]
abstract member Append : int * int -> unit
override this.Append : int * int -> unit

Parameters

key
Int32
value
Int32
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.

Java documentation for android.util.SparseIntArray.append(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