Udostępnij za pośrednictwem


ArrayAdapter.Add(Object) Method

Definition

Adds the specified object at the end of the array.

[Android.Runtime.Register("add", "(Ljava/lang/Object;)V", "GetAdd_Ljava_lang_Object_Handler")]
public virtual void Add (Java.Lang.Object? object);
[<Android.Runtime.Register("add", "(Ljava/lang/Object;)V", "GetAdd_Ljava_lang_Object_Handler")>]
abstract member Add : Java.Lang.Object -> unit
override this.Add : Java.Lang.Object -> unit

Parameters

object
Object

The object to add at the end of the array.

Attributes

Remarks

Adds the specified object at the end of the array.

Java documentation for android.widget.ArrayAdapter.add(T).

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