Esempio n. 1
0
  @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;
    }
  }
Esempio n. 2
0
 @Override
 public void onResume() {
   super.onResume();
   setupActionBar();
   setupBottomBar();
 }