android.support.v4.view
Class ViewPager.SavedState

java.lang.Object
  extended by android.view.AbsSavedState
      extended by android.view.View.BaseSavedState
          extended by android.support.v4.view.ViewPager.SavedState
All Implemented Interfaces:
android.os.Parcelable
Enclosing class:
ViewPager

public static class ViewPager.SavedState
extends android.view.View.BaseSavedState

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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
android.os.Parcelable.ClassLoaderCreator<T>, android.os.Parcelable.Creator<T>
 
Field Summary
static android.os.Parcelable.Creator<ViewPager.SavedState> CREATOR
           
 
Fields inherited from class android.view.AbsSavedState
EMPTY_STATE
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
ViewPager.SavedState(android.os.Parcelable superState)
           
 
Method Summary
 String toString()
           
 void writeToParcel(android.os.Parcel out, int flags)
           
 
Methods inherited from class android.view.AbsSavedState
describeContents, getSuperState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CREATOR

public static final android.os.Parcelable.Creator<ViewPager.SavedState> CREATOR
Constructor Detail

ViewPager.SavedState

public ViewPager.SavedState(android.os.Parcelable superState)
Method Detail

writeToParcel

public void writeToParcel(android.os.Parcel out,
                          int flags)
Specified by:
writeToParcel in interface android.os.Parcelable
Overrides:
writeToParcel in class android.view.AbsSavedState

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 Marek Kedzierski. All Rights Reserved.