Udostępnij za pośrednictwem


Parcel.CreateTypedArrayMap(IParcelableCreator) Method

Definition

Read into a new ArrayMap with string keys items containing a particular object type that were written with #writeTypedArrayMap(ArrayMap, int) at the current dataPosition().

[Android.Runtime.Register("createTypedArrayMap", "(Landroid/os/Parcelable$Creator;)Landroid/util/ArrayMap;", "", ApiSince=29)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.os.Parcelable" })]
public Android.Util.ArrayMap? CreateTypedArrayMap (Android.OS.IParcelableCreator creator);
[<Android.Runtime.Register("createTypedArrayMap", "(Landroid/os/Parcelable$Creator;)Landroid/util/ArrayMap;", "", ApiSince=29)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.os.Parcelable" })>]
member this.CreateTypedArrayMap : Android.OS.IParcelableCreator -> Android.Util.ArrayMap

Parameters

creator
IParcelableCreator

The creator to use when for instantiation.

Returns

A newly created ArrayMap containing objects with the same data as those that were previously written.

Attributes

Remarks

Java documentation for android.os.Parcel.createTypedArrayMap(android.os.Creator).

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