belongs to Maven artifact androidx.viewpager:viewpager:1.0.0-alpha1

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

Creator<ViewPager.SavedState> CREATOR

Public constructors

ViewPager.SavedState

ViewPager.SavedState (Parcelable superState)

Parameters
superState Parcelable

Public methods

toString

String toString ()

Returns
String

writeToParcel

void writeToParcel (Parcel out, 
                int flags)

Parameters
out Parcel

flags int