예제 #1
0
 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 ();
     }
 }
예제 #2
0
 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 ();
     }
 }