List of usage examples for android.os Bundle putBundle
public void putBundle(@Nullable String key, @Nullable Bundle value)
From source file:com.brookmanholmes.bma.ui.newmatchwizard.CreateNewMatchActivity.java
@Override protected void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); outState.putBundle("model", wizardModel.save()); }
From source file:me.diskstation.ammon.gpsrunner.ui.DrawerActivity.java
@Override protected void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); outState.putBundle("run", currentRun); //getSupportFragmentManager().putFragment(outState, "ovFragment", ovFragment); }
From source file:com.android.mail.ui.ConversationListFragment.java
/** * Creates a new instance of {@link ConversationListFragment}, initialized * to display conversation list context. *///from w ww. j a v a2 s . co m public static ConversationListFragment newInstance(ConversationListContext viewContext) { final ConversationListFragment fragment = new ConversationListFragment(); final Bundle args = new Bundle(1); args.putBundle(CONVERSATION_LIST_KEY, viewContext.toBundle()); fragment.setArguments(args); return fragment; }
From source file:org.i_chera.wolfensteineditor.MainActivity.java
@Override protected void onSaveInstanceState(Bundle outState) { if (mCurrentPath != null) outState.putString(EXTRA_CURRENT_PATH, mCurrentPath.getPath()); if (mStartBundle != null) outState.putBundle(EXTRA_FRAGMENT_START, mStartBundle); if (mLevelBundle != null) outState.putBundle(EXTRA_FRAGMENT_LEVEL, mLevelBundle); super.onSaveInstanceState(outState); }
From source file:com.github.mguidi.asyncop.AsyncOpHelper.java
/** * @param outState state//from ww w . ja v a 2 s . co m */ public void onSaveInstanceState(Bundle outState) { outState.putString(SAVED_ID_HELPER, mIdHelper); outState.putInt(SAVED_ID_REQUEST, mNextIdRequest); outState.putIntegerArrayList(SAVED_PENDING_REQUESTS, mPendingRequests); outState.putBundle(SAVED_MAP_PENDING_REQUESTS_ACTION, mMapPendingRequestsAction); }
From source file:me.diskstation.ammon.gpsrunner.ui.OverviewFragment.java
@Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); if (drawAct.mBound) { if (run != null) { outState.putBundle("run", run); }/* w w w.j a v a 2 s.com*/ if (waypoints != null) { outState.putParcelableArrayList("waypoints", waypoints); } } }
From source file:com.sintef_energy.ubisolar.fragments.UsageFragment.java
@Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); outState.putBundle("mSavedState", mSavedState != null ? mSavedState : saveState()); }
From source file:com.cnm.cnmrc.fragment.vodtvch.TvchSemi.java
/** * tvch (1st arg : 2nd arg) : (0:) / (1:?) / (2:TV) / (3:) *///from w w w . j ava 2s .co m public TvchSemi newInstance(int selectedCategory, String title, boolean isFirstDepth, Bundle bundle) { TvchSemi f = new TvchSemi(); Bundle args = new Bundle(); args.putInt("selectedCategory", selectedCategory); args.putString("title", title); args.putBoolean("isFirstDepth", isFirstDepth); args.putBundle("bundle", bundle); f.setArguments(args); return f; }
From source file:com.brookmanholmes.bma.ui.newmatchwizard.CreateNewMatchActivity.java
@Override public void onSaveInstanceState(Bundle outState, PersistableBundle outPersistentState) { super.onSaveInstanceState(outState, outPersistentState); outState.putBundle("model", wizardModel.save()); }
From source file:is.hello.go99.example.AmplitudesFragment.java
@Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); outState.putBundle(SAVED_SOURCE_STATE, amplitudeSource.saveState()); outState.putBoolean(SAVED_WANTS_LONG_DELAY_STEP, itemAnimator.getWantsLongDelayStep()); }