public void ShowProlicyRootFragment(TermsAndPolicyObject termsobject) { if(!IsFinishing){ var fragment =new PrivacyRootFragment(); fragment.nn_termsobject = termsobject; var ft = SupportFragmentManager.BeginTransaction (); ft.Add (Resource.Id.home_content_framelayout, fragment); ft.CommitAllowingStateLoss (); } }
public void ShowTermsDetailFragment(TermsAndPolicyObject termsobject) { if(!IsFinishing){ var fragment =new TermsDetailFragment (); fragment.nn_termsobject = termsobject; var ft = SupportFragmentManager.BeginTransaction (); ft.Replace (Resource.Id.home_content_framelayout, fragment); ft.AddToBackStack (null); ft.CommitAllowingStateLoss (); } }