public class

ViewPager.SavedState

extends AbsSavedState

 java.lang.Object

androidx.customview.view.AbsSavedState

↳androidx.viewpager.widget.ViewPager.SavedState

Overview

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

Fields
public static final <any>CREATOR

from AbsSavedStateEMPTY_STATE
Constructors
publicSavedState(Parcelable superState)

Methods
public java.lang.StringtoString()

public voidwriteToParcel(Parcel out, int flags)

from AbsSavedStatedescribeContents, getSuperState
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Fields

public static final <any> CREATOR

Constructors

public SavedState(Parcelable superState)

Methods

public void writeToParcel(Parcel out, int flags)

public java.lang.String toString()