public static class AbstractColorPickerPreference.SavedState
extends android.preference.Preference.BaseSavedState
AbstractColorPickerPreference.| Modifier and Type | Field and Description |
|---|---|
int |
color
The saved value of the attribute "color".
|
static android.os.Parcelable.Creator<AbstractColorPickerPreference.SavedState> |
CREATOR
A creator, which allows to create instances of the class
AbstractColorPickerPreference.SavedState from
parcels. |
| Constructor and Description |
|---|
SavedState(android.os.Parcel source)
Creates a new data structure, which allows to store the internal state of an
AbstractColorPickerPreference. |
SavedState(android.os.Parcelable superState)
Creates a new data structure, which allows to store the internal state of an
AbstractColorPickerPreference. |
| Modifier and Type | Method and Description |
|---|---|
void |
writeToParcel(android.os.Parcel destination,
int flags) |
public static final android.os.Parcelable.Creator<AbstractColorPickerPreference.SavedState> CREATOR
AbstractColorPickerPreference.SavedState from
parcels.public int color
public SavedState(android.os.Parcelable superState)
AbstractColorPickerPreference. 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 nullpublic SavedState(android.os.Parcel source)
AbstractColorPickerPreference. 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 null