@Override protected void onResume() { super.onResume(); if (UWPreferenceManager.getIsFirstLaunch(getApplicationContext())) { showCheckingLevelFragment(); } }
private void showCheckingLevelFragment() { FragmentTransaction ft = getSupportFragmentManager().beginTransaction(); CheckingLevelInfoFragment fragment = new CheckingLevelInfoFragment(); fragment.show(ft, GENERAL_CHECKING_LEVEL_FRAGMENT_ID); UWPreferenceManager.setIsFirstLaunch(getApplicationContext(), false); }