Added in API level 1
SavedState
open class SavedState : View.BaseSavedState
| kotlin.Any | |||
| ↳ | android.view.AbsSavedState | ||
| ↳ | android.view.View.BaseSavedState | ||
| ↳ | android.widget.TextView.SavedState | ||
User interface state that is stored by TextView for implementing View.onSaveInstanceState.
Summary
| Public methods | |
|---|---|
| open String |
toString()Returns a string representation of the object. |
| open Unit |
writeToParcel(out: Parcel, flags: Int)Flatten this object in to a Parcel. |
| Properties | |
|---|---|
| static Parcelable.Creator<TextView.SavedState!> | |
Public methods
toString
Added in API level 1
open fun toString(): String
Returns a string representation of the object.
| Return | |
|---|---|
String |
a string representation of the object. |
writeToParcel
Added in API level 1
open fun writeToParcel(
out: Parcel,
flags: Int
): Unit
Flatten this object in to a Parcel.
| Parameters | |
|---|---|
dest |
The Parcel in which the object should be written. This value cannot be null. |
flags |
Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE. Value is either 0 or a combination of the following:
|