@Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); if (serialize) { outState.putSerializable(Constants.FRAGMENT_LIST2, newestEpisodes); } }
@Override public void onCreate(Bundle bundle) { super.onCreate(bundle); artist = true; artistId = getArguments().getString(Constants.INTENT_EXTRA_NAME_ARTIST); }
@Override public void onCreateOptionsMenu(Menu menu, MenuInflater menuInflater) { super.onCreateOptionsMenu(menu, menuInflater); if (!primaryFragment) { return; } if (info.getMissingArtists().isEmpty()) { menu.removeItem(R.id.menu_show_missing); } }
@Override public void onCreate(Bundle bundle) { super.onCreate(bundle); hasCoverArt = ServerInfo.checkServerVersion(context, "1.13") || Util.isOffline(context); if (Util.getPreferences(context).getBoolean(Constants.PREFERENCES_KEY_LARGE_ALBUM_ART, true) && hasCoverArt) { largeAlbums = true; } if (bundle != null && serialize) { newestEpisodes = (MusicDirectory) bundle.getSerializable(Constants.FRAGMENT_LIST2); } }