Share via


Parcel.ReadParcelableCreator Method

Definition

Overloads

ReadParcelableCreator(ClassLoader)

Read and return a Parcelable.

ReadParcelableCreator(ClassLoader, Class)

ReadParcelableCreator(ClassLoader)

Read and return a Parcelable.

[Android.Runtime.Register("readParcelableCreator", "(Ljava/lang/ClassLoader;)Landroid/os/Parcelable$Creator;", "", ApiSince=30)]
public Android.OS.IParcelableCreator? ReadParcelableCreator (Java.Lang.ClassLoader? loader);
[<Android.Runtime.Register("readParcelableCreator", "(Ljava/lang/ClassLoader;)Landroid/os/Parcelable$Creator;", "", ApiSince=30)>]
member this.ReadParcelableCreator : Java.Lang.ClassLoader -> Android.OS.IParcelableCreator

Parameters

loader
ClassLoader

A ClassLoader from which to instantiate the Parcelable.Creator object, or null for the default class loader.

Returns

the previously written Parcelable.Creator, or null if a null Creator was written.

Attributes

Remarks

Java documentation for android.os.Parcel.readParcelableCreator(java.lang.ClassLoader).

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

ReadParcelableCreator(ClassLoader, Class)

[Android.Runtime.Register("readParcelableCreator", "(Ljava/lang/ClassLoader;Ljava/lang/Class;)Landroid/os/Parcelable$Creator;", "", ApiSince=33)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public Android.OS.IParcelableCreator? ReadParcelableCreator (Java.Lang.ClassLoader? loader, Java.Lang.Class clazz);
[<Android.Runtime.Register("readParcelableCreator", "(Ljava/lang/ClassLoader;Ljava/lang/Class;)Landroid/os/Parcelable$Creator;", "", ApiSince=33)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
member this.ReadParcelableCreator : Java.Lang.ClassLoader * Java.Lang.Class -> Android.OS.IParcelableCreator

Parameters

loader
ClassLoader
clazz
Class

Returns

Attributes

Applies to