Google is committed to advancing racial equity for Black communities. See how.

SavedState

open class SavedState : AbsSavedState
kotlin.Any
   ↳ androidx.customview.view.AbsSavedState
   ↳ androidx.viewpager.widget.ViewPager.SavedState

This is the persistent state that is saved by ViewPager. Only needed if you are creating a sublass of ViewPager that must save its own state, in which case it should implement a subclass of this which contains that state.

Summary

Public constructors
<init>(@NonNull superState: Parcelable)

Public methods
open String

open Unit
writeToParcel(out: Parcel!, flags: Int)

Inherited functions
Properties
static Creator<ViewPager.SavedState!>!

Inherited properties

Public constructors

<init>

SavedState(@NonNull superState: Parcelable)

Public methods

toString

open fun toString(): String

writeToParcel

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

Properties

CREATOR

static val CREATOR: Creator<ViewPager.SavedState!>!