Android APIs
public static class

View.BaseSavedState

extends AbsSavedState
java.lang.Object
   ↳ android.view.AbsSavedState
     ↳ android.view.View.BaseSavedState
Known Direct Subclasses

Class Overview

Base class for derived classes that want to save and restore their own state in onSaveInstanceState().

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<View.BaseSavedState> CREATOR
[Expand]
Inherited Fields
From class android.view.AbsSavedState
Public Constructors
View.BaseSavedState(Parcel source)
Constructor used when reading from a parcel.
View.BaseSavedState(Parcelable superState)
Constructor called by derived classes when creating their SavedState objects
Public Methods
void writeToParcel(Parcel out, int flags)
Flatten this object in to a Parcel.
[Expand]
Inherited Methods
From class android.view.AbsSavedState
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<View.BaseSavedState> CREATOR

Added in API level 1

Public Constructors

public View.BaseSavedState (Parcel source)

Added in API level 1

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

public View.BaseSavedState (Parcelable superState)

Added in API level 1

Constructor called by derived classes when creating their SavedState objects

Parameters
superState The state of the superclass of this view

Public Methods

public void writeToParcel (Parcel out, int flags)

Added in API level 1

Flatten this object in to a Parcel.

Parameters
out The Parcel in which the object should be written.
flags Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE.