List of usage examples for android.os Bundle putParcelableArrayList
public void putParcelableArrayList(@Nullable String key, @Nullable ArrayList<? extends Parcelable> value)
From source file:com.ninetwozero.battlelog.AboutActivity.java
@Override protected void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); outState.putParcelableArrayList(Constants.SUPER_COOKIES, RequestHandler.getCookies()); }
From source file:com.TurnOrder.MainActivity.java
@Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); outState.putParcelableArrayList("PlayerList", playerList); }
From source file:org.amahi.anywhere.fragment.ServerAppsFragment.java
private void tearDownAppsState(Bundle state) { if (areAppsLoaded()) { state.putParcelableArrayList(State.APPS, new ArrayList<Parcelable>(getAppsAdapter().getItems())); }/* w ww. j av a 2 s .c om*/ }
From source file:com.udacity.movietimes.fragments.FavoriteMovie.java
@Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); if (movieList != null) { outState.putParcelableArrayList("KEY", (ArrayList<? extends Parcelable>) movieList); }//from w ww.jav a2s . c om }
From source file:com.example.android.popularmovies.fragments.MovieTrailersFragment.java
@Override public void onSaveInstanceState(Bundle outState) { outState.putParcelableArrayList(TRAILER_ADAPTER_STATE, mTrailerAdapter.getList()); //We need this to recover fragment details on tablet. if (mMovie != null) { outState.putParcelable(MOVIE_ACTIVE, mMovie); }// w ww . j a v a2 s.c om super.onSaveInstanceState(outState); }
From source file:org.cvasilak.jboss.mobile.admin.fragments.ConfigurationViewFragment.java
@Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); outState.putParcelableArrayList("confMetrics", confMetrics); }
From source file:com.udacity.movietimes.fragments.PopularMovie.java
@Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); if (mMovieList != null) { outState.putParcelableArrayList("KEY", (ArrayList<? extends Parcelable>) mMovieList); }/*from w w w . j a v a 2 s .co m*/ }
From source file:com.liferay.alerts.activity.MainActivity.java
@Override protected void onSaveInstanceState(Bundle state) { super.onSaveInstanceState(state); state.putParcelableArrayList(_ALERTS, _alerts); }
From source file:com.lloydtorres.stately.census.DatasetDialog.java
@Override public void onSaveInstanceState(Bundle savedInstanceState) { // Save state super.onSaveInstanceState(savedInstanceState); if (datasets != null) { savedInstanceState.putParcelableArrayList(DATASETS_KEY, datasets); }/*w ww. java 2s . c o m*/ }
From source file:com.gemapps.saidit.ui.toplisting.TopListingFragment.java
@Override public void onSaveInstanceState(Bundle outState) { if (mAdapter != null) outState.putParcelableArrayList(LISTING_LIST_PREF, mAdapter.getListingItems()); super.onSaveInstanceState(outState); }