コード例 #1
0
 @Override
 protected void onResume() {
   super.onResume();
   if (UWPreferenceManager.getIsFirstLaunch(getApplicationContext())) {
     showCheckingLevelFragment();
   }
 }
コード例 #2
0
  private void showCheckingLevelFragment() {
    FragmentTransaction ft = getSupportFragmentManager().beginTransaction();

    CheckingLevelInfoFragment fragment = new CheckingLevelInfoFragment();
    fragment.show(ft, GENERAL_CHECKING_LEVEL_FRAGMENT_ID);
    UWPreferenceManager.setIsFirstLaunch(getApplicationContext(), false);
  }