use of android.os.Parcelable in project android-betterpickers by code-troopers.
the class UnderlinePageIndicatorPicker method onSaveInstanceState.
@Override
public Parcelable onSaveInstanceState() {
Parcelable superState = super.onSaveInstanceState();
SavedState savedState = new SavedState(superState);
savedState.currentPage = mCurrentPage;
return savedState;
}
use of android.os.Parcelable in project android-betterpickers by code-troopers.
the class TimePicker method onSaveInstanceState.
@Override
public Parcelable onSaveInstanceState() {
final Parcelable parcel = super.onSaveInstanceState();
final SavedState state = new SavedState(parcel);
state.mInput = mInput;
state.mAmPmState = mAmPmState;
state.mInputPointer = mInputPointer;
return state;
}
use of android.os.Parcelable in project cw-omnibus by commonsguy.
the class IcsProgressBar method onSaveInstanceState.
@Override
public Parcelable onSaveInstanceState() {
// Force our ancestor class to save its state
Parcelable superState = super.onSaveInstanceState();
SavedState ss = new SavedState(superState);
ss.progress = mProgress;
ss.secondaryProgress = mSecondaryProgress;
return ss;
}
use of android.os.Parcelable in project cw-omnibus by commonsguy.
the class TitlePageIndicator method onSaveInstanceState.
@Override
public Parcelable onSaveInstanceState() {
Parcelable superState = super.onSaveInstanceState();
SavedState savedState = new SavedState(superState);
savedState.currentPage = mCurrentPage;
return savedState;
}
use of android.os.Parcelable in project cw-omnibus by commonsguy.
the class CirclePageIndicator method onSaveInstanceState.
@Override
public Parcelable onSaveInstanceState() {
Parcelable superState = super.onSaveInstanceState();
SavedState savedState = new SavedState(superState);
savedState.currentPage = mCurrentPage;
return savedState;
}
Aggregations