public static final void hideCurrentFlashcardFragment() { if ((currentFlashCardFragment != null) && (currentFlashCardFragment.isAdded())) { Multicards.getMainActivity() .getFragmentManager() .beginTransaction() .remove(currentFlashCardFragment) .commit(); currentFlashCardFragment = null; } }
public static final void showGamePlayFragments(Boolean boolConfigurationChange, int state) { hideMainMenu(); intUIState = state; setUIStates.add(state); showPlayersInfo(boolConfigurationChange); if (boolConfigurationChange) showFragment(FlashCardFragment.cloneFragment(currentFlashCardFragment), null); Multicards.getMainActivity().linearLayoutEmoticons.setVisibility(View.INVISIBLE); // Multicards.getMainActivity().linearLayoutBottomBar.setVisibility(View.VISIBLE); }