次の方法で共有


Parcel.CreateStringArrayList Method

Definition

Read and return a new ArrayList containing String objects from the parcel that was written with #writeStringList at the current dataPosition().

[Android.Runtime.Register("createStringArrayList", "()Ljava/util/ArrayList;", "")]
public System.Collections.Generic.IList<string>? CreateStringArrayList ();
[<Android.Runtime.Register("createStringArrayList", "()Ljava/util/ArrayList;", "")>]
member this.CreateStringArrayList : unit -> System.Collections.Generic.IList<string>

Returns

A newly created ArrayList containing strings with the same data as those that were previously written.

Attributes

Remarks

Read and return a new ArrayList containing String objects from the parcel that was written with #writeStringList at the current dataPosition(). Returns null if the previously written list object was null.

Java documentation for android.os.Parcel.createStringArrayList().

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