ViewPager.SavedState

class ViewPager.SavedState : AbsSavedState


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

SavedState(superState: Parcelable)

Public functions

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

Constants

CREATOR

Added in 1.1.0-alpha02
const val CREATORParcelable.Creator<ViewPager.SavedState!>!

Public constructors

SavedState

Added in 1.1.0-alpha02
SavedState(superState: Parcelable)

Public functions

toString

fun toString(): String!

writeToParcel

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