public static final void hidePlayersInfo() { if ((playersInfoFragment != null) && (playersInfoFragment.isAdded())) Multicards.getMainActivity() .getFragmentManager() .beginTransaction() .remove(playersInfoFragment) .commit(); }
public static final void showPlayersInfo(Boolean boolConfigurationChange) { if ((playersInfoFragment == null) || boolConfigurationChange) playersInfoFragment = new PlayersInfoFragment(); if (!playersInfoFragment.isAdded()) { Multicards.getMainActivity() .getFragmentManager() .beginTransaction() .add(R.id.fragment_players_info_container, playersInfoFragment) .commit(); Multicards.getMainActivity().getFragmentManager().executePendingTransactions(); } }
public static final void showOpponentEmoticon(Integer intEmoticonID) { playersInfoFragment.showEmoticon(true, intEmoticonID); }