ViewPager.SavedState

public static class ViewPager.SavedState
extends AbsSavedState

java.lang.Object
   ↳ 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

Inherited constants

Fields

public static final Creator<ViewPager.SavedState> CREATOR

Inherited fields

Public constructors

ViewPager.SavedState(Parcelable superState)

Public methods

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

Inherited methods

Fields

CREATOR

public static final Creator<ViewPager.SavedState> CREATOR

Public constructors

ViewPager.SavedState

public ViewPager.SavedState (Parcelable superState)

Parameters
superState Parcelable

Public methods

toString

public String toString ()

Returns
String

writeToParcel

public void writeToParcel (Parcel out, 
                int flags)

Parameters
out Parcel

flags int