to top
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

? Examples
View.BaseSavedState( Parcel source)
Constructor used when reading from a parcel.

? Examples
View.BaseSavedState( Parcelable superState)
Constructor called by derived classes when creating their SavedState objects
[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
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.