'android to navigate between screens in a single fragment
want to show multiple views
LogManager.WriteToFile(LogManager.LogTags.CASHIER, "ReplaceFragments", "Showing banking fragment.", "CASHIER");
FrameLayout fragmentsLayout = (FrameLayout)FindViewById(Resource.Id.flContainer);
FragmentManager fragMan = SupportFragmentManager;
FragmentTransaction fragTransaction = fragMan.BeginTransaction();
Fragment myFrag = BankingFragment.newInstance();
fragTransaction.Replace(Resource.Id.flContainer, myFrag);
fragTransaction.SetTransition(FragmentTransaction.TransitFragmentFade);
FragmentManager.PopBackStack();
//fragTransaction.AddToBackStack(BankingState.BANKING_HOME.ToString());
fragTransaction.Commit();
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
