added in version 22.1.0
belongs to Maven artifact com.android.support:viewpager:28.0.0-alpha1
belongs to Maven artifact com.android.support:viewpager:28.0.0-alpha1
Summary:
Inherited Constants
| Fields
| Inherited Fields
| Ctors
| Methods
| Inherited Methods
| [Expand All]
ViewPager.SavedState
public
static
class
ViewPager.SavedState
extends AbsSavedState
java.lang.Object | ||
↳ | android.support.v4.view.AbsSavedState | |
↳ | android.support.v4.view.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 |
---|
From
interface
android.os.Parcelable
|
Fields | |
---|---|
public
static
final
Creator<ViewPager.SavedState> |
CREATOR
|
Inherited fields |
---|
From
class
android.support.v4.view.AbsSavedState
|
Public constructors | |
---|---|
ViewPager.SavedState(Parcelable superState)
|
Public methods | |
---|---|
String
|
toString()
|
void
|
writeToParcel(Parcel out, int flags)
|
Inherited methods | |
---|---|
From
class
android.support.v4.view.AbsSavedState
| |
From
class
java.lang.Object
| |
From
interface
android.os.Parcelable
|
Fields
Public constructors
ViewPager.SavedState
added in version 22.1.0
ViewPager.SavedState (Parcelable superState)
Parameters | |
---|---|
superState |
Parcelable |
Public methods
toString
String toString ()
Returns | |
---|---|
String |
writeToParcel
added in version 24.1.0
void writeToParcel (Parcel out, int flags)
Parameters | |
---|---|
out |
Parcel |
flags |
int |
Annotations
Interfaces
- ActionProvider.VisibilityListener
- AsyncLayoutInflater.OnInflateFinishedListener
- LayoutInflaterFactory
- MenuItemCompat.OnActionExpandListener
- NestedScrollingChild
- NestedScrollingChild2
- NestedScrollingParent
- NestedScrollingParent2
- OnApplyWindowInsetsListener
- ScrollingView
- TintableBackgroundView
- ViewPager.OnAdapterChangeListener
- ViewPager.OnPageChangeListener
- ViewPager.PageTransformer
- ViewPropertyAnimatorListener
- ViewPropertyAnimatorUpdateListener
Classes
- AbsSavedState
- AccessibilityDelegateCompat
- ActionProvider
- AsyncLayoutInflater
- GestureDetectorCompat
- GravityCompat
- InputDeviceCompat
- LayoutInflaterCompat
- MarginLayoutParamsCompat
- MenuCompat
- MenuItemCompat
- MotionEventCompat
- NestedScrollingChildHelper
- NestedScrollingParentHelper
- PagerAdapter
- PagerTabStrip
- PagerTitleStrip
- PointerIconCompat
- ScaleGestureDetectorCompat
- VelocityTrackerCompat
- ViewCompat
- ViewConfigurationCompat
- ViewGroupCompat
- ViewPager
- ViewPager.LayoutParams
- ViewPager.SavedState
- ViewPager.SimpleOnPageChangeListener
- ViewParentCompat
- ViewPropertyAnimatorCompat
- ViewPropertyAnimatorListenerAdapter
- WindowCompat
- WindowInsetsCompat