Stay organized with collections
Save and categorize content based on your preferences.
ExtendableSavedState
public
class
ExtendableSavedState
extends AbsSavedState
java.lang.Object
|
↳ |
androidx.customview.view.AbsSavedState
|
|
↳ |
com.google.android.material.stateful.ExtendableSavedState
|
SavedState for widgets that want to save and restore their own state in View.onSaveInstanceState()
. Supports widgets whose state is composed or delegated
out to multiple components.
Widgets with only composed or delegated state can directly instantiate this class and write to
extendableStates
. Widgets with additional state should subclass ExtendableSavedState
rather than trying to force the additional state into extendableStates
.
Summary
Inherited constants |
From interface
android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR
|
int |
PARCELABLE_WRITE_RETURN_VALUE
|
|
Inherited fields |
From class
androidx.customview.view.AbsSavedState
public
static
final
Creator<AbsSavedState> |
CREATOR
|
public
static
final
AbsSavedState |
EMPTY_STATE
|
|
Inherited methods |
From class
androidx.customview.view.AbsSavedState
int
|
describeContents()
|
final
Parcelable
|
getSuperState()
|
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
android.os.Parcelable
abstract
int
|
describeContents()
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Fields
extendableStates
public final SimpleArrayMap<String, Bundle> extendableStates
Public constructors
ExtendableSavedState
public ExtendableSavedState (Parcelable superState)
Parameters |
superState |
Parcelable |
Public methods
toString
public String toString ()
writeToParcel
public void writeToParcel (Parcel out,
int flags)
Parameters |
out |
Parcel |
flags |
int |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-02-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2021-02-08 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-02-08 UTC."]]