Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

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 Unit
writeToParcel(out: Parcel!, flags: Int)

open String

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

Inherited properties

Public constructors

<init>

SavedState(@NonNull superState: Parcelable)

Public methods

writeToParcel

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

toString

open fun toString(): String

Properties

CREATOR

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