@Override protected void onResume() { super.onResume(); if (backpackItem) { Iterator<SoundInfo> iterator = BackPackListManager.getActionBarSoundInfoArrayList().iterator(); while (iterator.hasNext()) { SoundInfo soundInfo = iterator.next(); BackPackListManager.setCurrentSoundInfo(soundInfo); SoundController.getInstance() .backPackSound( BackPackListManager.getCurrentSoundInfo(), backPackSoundFragment, BackPackListManager.getInstance().getSoundInfoArrayList(), backPackSoundFragment.getAdapter()); } BackPackListManager.getActionBarSoundInfoArrayList().clear(); backpackItem = false; } }
@Override public void onResume() { super.onResume(); setupActionBar(); setupBottomBar(); }