ViewPager.SavedState


public 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.

Summary

Public constructors

Public methods

String
void
writeToParcel(Parcel out, int flags)

Inherited methods

From androidx.customview.view.AbsSavedState
From android.os.Parcelable
abstract int
abstract void
writeToParcel(Parcel p, int p1)

Constants

CREATOR

Added in 1.1.0-rc01
public static final Parcelable.Creator<ViewPager.SavedStateCREATOR

Public constructors

SavedState

Added in 1.1.0-rc01
public SavedState(@NonNull Parcelable superState)

Public methods

toString

public String toString()

writeToParcel

public void writeToParcel(Parcel out, int flags)