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

Parameters

key
Int32
value
Boolean
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.SparseBooleanArray.append(int, boolean).

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