Aracılığıyla paylaş


AbsSavedState Constructors

Definition

Overloads

AbsSavedState(IParcelable)

Constructor called by derived classes when creating their SavedState objects

AbsSavedState(Parcel)

Constructor used when reading from a parcel.

AbsSavedState(Parcel, ClassLoader)

Constructor used when reading from a parcel using a given class loader.

AbsSavedState(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

AbsSavedState(IParcelable)

Constructor called by derived classes when creating their SavedState objects

[Android.Runtime.Register(".ctor", "(Landroid/os/Parcelable;)V", "")]
protected AbsSavedState (Android.OS.IParcelable? superState);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcelable;)V", "")>]
new Android.Views.AbsSavedState : Android.OS.IParcelable -> Android.Views.AbsSavedState

Parameters

superState
IParcelable

The state of the superclass of this view

Attributes

Remarks

Constructor called by derived classes when creating their SavedState objects

Java documentation for android.view.AbsSavedState.AbsSavedState(android.os.Parcelable).

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

AbsSavedState(Parcel)

Constructor used when reading from a parcel.

[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
protected AbsSavedState (Android.OS.Parcel? source);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
new Android.Views.AbsSavedState : Android.OS.Parcel -> Android.Views.AbsSavedState

Parameters

source
Parcel

parcel to read from

Attributes

Remarks

Constructor used when reading from a parcel. Reads the state of the superclass.

Java documentation for android.view.AbsSavedState.AbsSavedState(android.os.Parcel).

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

AbsSavedState(Parcel, ClassLoader)

Constructor used when reading from a parcel using a given class loader.

[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;Ljava/lang/ClassLoader;)V", "", ApiSince=24)]
protected AbsSavedState (Android.OS.Parcel? source, Java.Lang.ClassLoader? loader);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;Ljava/lang/ClassLoader;)V", "", ApiSince=24)>]
new Android.Views.AbsSavedState : Android.OS.Parcel * Java.Lang.ClassLoader -> Android.Views.AbsSavedState

Parameters

source
Parcel

parcel to read from

loader
ClassLoader

ClassLoader to use for reading

Attributes

Remarks

Constructor used when reading from a parcel using a given class loader. Reads the state of the superclass.

Java documentation for android.view.AbsSavedState.AbsSavedState(android.os.Parcel, 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

AbsSavedState(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected AbsSavedState (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.AbsSavedState : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.AbsSavedState

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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