Share via


Parcel.WriteParcelableList(IList, Int32) Method

Definition

Flatten a List containing arbitrary Parcelable objects into this parcel at the current position.

[Android.Runtime.Register("writeParcelableList", "(Ljava/util/List;I)V", "", ApiSince=29)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.os.Parcelable" })]
public void WriteParcelableList (System.Collections.IList? val, int flags);
[<Android.Runtime.Register("writeParcelableList", "(Ljava/util/List;I)V", "", ApiSince=29)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.os.Parcelable" })>]
member this.WriteParcelableList : System.Collections.IList * int -> unit

Parameters

val
IList
flags
Int32
Attributes

Remarks

Flatten a List containing arbitrary Parcelable objects into this parcel at the current position. They can later be retrieved using #readParcelableList(List, ClassLoader) if required.

Java documentation for android.os.Parcel.writeParcelableList(java.util.List<T>, 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