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