Created
November 10, 2018 19:29
-
-
Save frcake/f45bfe99e6b2d35e9df5e5a22b5cd2a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FragmentTransaction fragmentTransaction = getSupportFragmentManager().beginTransaction(); | |
if (getIntent().getExtras().getBoolean("SHOW_LOGIN")) { | |
fragmentTransaction.replace(R.id.main_fragment_container, new LoginFragment()); | |
fragmentTransaction.commit(); | |
}else{ | |
fragmentTransaction.replace(R.id.main_fragment_container, new TourPackageFragment()); | |
fragmentTransaction.commit(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment