public static class AbstractDialogPreference.SavedState
extends android.preference.Preference.BaseSavedState
AbstractDialogPreference.| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<AbstractDialogPreference.SavedState> |
CREATOR
A creator, which allows to create instances of the class
AbstractDialogPreference.SavedState from
parcels. |
boolean |
dialogShown
True, if the dialog of the
AbstractDialogPreference, whose state is saved by the
data structure, is currently shown, false otherwise. |
android.os.Bundle |
dialogState
The saved state of the dialog of the
AbstractDialogPreference , whose state is
saved by the data structure. |
| Constructor and Description |
|---|
SavedState(android.os.Parcel source)
Creates a new data structure, which allows to store the internal state of an
AbstractDialogPreference. |
SavedState(android.os.Parcelable superState)
Creates a new data structure, which allows to store the internal state of an
AbstractDialogPreference. |
| Modifier and Type | Method and Description |
|---|---|
void |
writeToParcel(android.os.Parcel destination,
int flags) |
public static final android.os.Parcelable.Creator<AbstractDialogPreference.SavedState> CREATOR
AbstractDialogPreference.SavedState from
parcels.public boolean dialogShown
AbstractDialogPreference, whose state is saved by the
data structure, is currently shown, false otherwise.public android.os.Bundle dialogState
AbstractDialogPreference , whose state is
saved by the data structure.public SavedState(android.os.Parcel source)
AbstractDialogPreference. This constructor is used when reading from a parcel. It reads
the state of the superclass.source - The parcel to read read from as a instance of the class Parcel. The
parcel may not be nullpublic SavedState(android.os.Parcelable superState)
AbstractDialogPreference. This constructor is called by derived classes when saving
their states.superState - The state of the superclass of this view, as an instance of the type Parcelable. The state may not be null