View.BaseSavedState Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
View.BaseSavedState(IParcelable) |
Constructor called by derived classes when creating their SavedState objects |
View.BaseSavedState(Parcel) |
Constructor used when reading from a parcel. |
View.BaseSavedState(Parcel, ClassLoader) |
Constructor used when reading from a parcel using a given class loader. |
View.BaseSavedState(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
View.BaseSavedState(IParcelable)
Constructor called by derived classes when creating their SavedState objects
[Android.Runtime.Register(".ctor", "(Landroid/os/Parcelable;)V", "")]
public BaseSavedState (Android.OS.IParcelable? superState);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcelable;)V", "")>]
new Android.Views.View.BaseSavedState : Android.OS.IParcelable -> Android.Views.View.BaseSavedState
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.View.BaseSavedState.View$BaseSavedState(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
View.BaseSavedState(Parcel)
Constructor used when reading from a parcel.
[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
public BaseSavedState (Android.OS.Parcel? source);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
new Android.Views.View.BaseSavedState : Android.OS.Parcel -> Android.Views.View.BaseSavedState
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.View.BaseSavedState.View$BaseSavedState(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
View.BaseSavedState(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)]
public BaseSavedState (Android.OS.Parcel? source, Java.Lang.ClassLoader? loader);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;Ljava/lang/ClassLoader;)V", "", ApiSince=24)>]
new Android.Views.View.BaseSavedState : Android.OS.Parcel * Java.Lang.ClassLoader -> Android.Views.View.BaseSavedState
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.
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
View.BaseSavedState(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected BaseSavedState (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.View.BaseSavedState : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.View.BaseSavedState
Parameters
- 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.