added in version 22.1.0
belongs to Maven artifact


public static class ViewPager.SavedState
extends 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.


Inherited constants

From interface android.os.Parcelable


public static final Creator<ViewPager.SavedState> CREATOR

Inherited fields

From class

Public constructors

ViewPager.SavedState(Parcelable superState)

Public methods

String toString()
void writeToParcel(Parcel out, int flags)

Inherited methods

From class
From class java.lang.Object