Udostępnij za pośrednictwem


Parcel.WriteStringList(IList<String>) Method

Definition

Flatten a List containing String objects into the parcel, at the current dataPosition() and growing dataCapacity() if needed.

[Android.Runtime.Register("writeStringList", "(Ljava/util/List;)V", "")]
public void WriteStringList (System.Collections.Generic.IList<string>? val);
[<Android.Runtime.Register("writeStringList", "(Ljava/util/List;)V", "")>]
member this.WriteStringList : System.Collections.Generic.IList<string> -> unit

Parameters

val
IList<String>

The list of strings to be written.

Attributes

Remarks

Flatten a List containing String objects into the parcel, at the current dataPosition() and growing dataCapacity() if needed. They can later be retrieved with #createStringArrayList or #readStringList.

Java documentation for android.os.Parcel.writeStringList(java.util.List<java.lang.String>).

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