示例#1
0
 public override void Show(MvxViewModelRequest request)
 {
     if (request.ViewModelType == typeof(FormsViewModel))
     {
         var fragmentManageer = CurrentFragmentManager;
         var page             = new TestPage();
         var fragment         = page.CreateSupportFragment(CurrentActivity);
         fragmentManageer.BeginTransaction().Replace(Resource.Id.content_frame, fragment).AddToBackStack(null).Commit();
         return;
     }
     base.Show(request);
 }