AbsSavedState

abstract class AbsSavedState : Parcelable
kotlin.Any
   ↳ androidx.customview.view.AbsSavedState

A Parcelable implementation that should be used by inheritance hierarchies to ensure the state of all classes along the chain is saved.

Summary

Protected constructors
<init>(superState: Parcelable)

Constructor called by derived classes when creating their SavedState objects

<init>(source: Parcel)

Constructor used when reading from a parcel.

<init>(source: Parcel, loader: ClassLoader?)

Constructor used when reading from a parcel.

Public methods
open Unit
writeToParcel(dest: Parcel!, flags: Int)

Parcelable?

open Int

Properties
static Creator<AbsSavedState!>!

static AbsSavedState!

Protected constructors

<init>

protected AbsSavedState(superState: Parcelable)

Constructor called by derived classes when creating their SavedState objects

Parameters
superState Parcelable: The state of the superclass of this view

<init>

protected AbsSavedState(source: Parcel)

Constructor used when reading from a parcel. Reads the state of the superclass.

Parameters
source Parcel: parcel to read from

<init>

protected AbsSavedState(source: Parcel, loader: ClassLoader?)

Constructor used when reading from a parcel. Reads the state of the superclass.

Parameters
source Parcel: parcel to read from
loader Parcel: ClassLoader to use for reading

Public methods

writeToParcel

open fun writeToParcel(dest: Parcel!, flags: Int): Unit

getSuperState

fun getSuperState(): Parcelable?

describeContents

open fun describeContents(): Int

Properties

CREATOR

static val CREATOR: Creator<AbsSavedState!>!

EMPTY_STATE

static val EMPTY_STATE: AbsSavedState!