@Override public void restoreState(Parcelable state, ClassLoader cl) { if (state instanceof Bundle) { Bundle bundle = (Bundle) state; super.restoreState(bundle.getParcelable("instanceState"), cl); lastNdtStatus = (NdtStatus) bundle.getSerializable("lastNdtStatus"); return; } }
@Override public void restoreState(Parcelable state, ClassLoader loader) { if (state instanceof Bundle) { Bundle bundle = (Bundle) state; bundle.setClassLoader(loader); SparseArray<Parcelable> ss = bundle.containsKey(STATE) ? bundle.getSparseParcelableArray(STATE) : null; mSavedStates = ss != null ? ss : new SparseArray<Parcelable>(); } super.restoreState(state, loader); }
@Override public void restoreState(Parcelable state, ClassLoader loader) { // TODO Auto-generated method stub super.restoreState(state, loader); }
@Override public void restoreState(Parcelable bundle, ClassLoader classLoader) { mAdapter.restoreState(bundle, classLoader); }