Share via


Intent.PutParcelableArrayListExtra(String, IList<IParcelable>) Method

Definition

Add extended data to the intent.

[Android.Runtime.Register("putParcelableArrayListExtra", "(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;", "GetPutParcelableArrayListExtra_Ljava_lang_String_Ljava_util_ArrayList_Handler")]
public virtual Android.Content.Intent PutParcelableArrayListExtra (string? name, System.Collections.Generic.IList<Android.OS.IParcelable>? value);
[<Android.Runtime.Register("putParcelableArrayListExtra", "(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;", "GetPutParcelableArrayListExtra_Ljava_lang_String_Ljava_util_ArrayList_Handler")>]
abstract member PutParcelableArrayListExtra : string * System.Collections.Generic.IList<Android.OS.IParcelable> -> Android.Content.Intent
override this.PutParcelableArrayListExtra : string * System.Collections.Generic.IList<Android.OS.IParcelable> -> Android.Content.Intent

Parameters

name
String

The name of the extra data, with package prefix.

value
IList<IParcelable>

The ArrayList<Parcelable> data value.

Returns

Returns the same Intent object, for chaining multiple calls into a single statement.

Attributes

Remarks

Add extended data to the intent. The name must include a package prefix, for example the app com.android.contacts would use names like "com.android.contacts.ShowAll".

Java documentation for android.content.Intent.putParcelableArrayListExtra(java.lang.String, java.util.ArrayList<? extends android.os.Parcelable>).

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