Ejemplo n.º 1
0
        public static BlankFragment NewInstance(OverlayDetails details)
        {
            var detailsFrag = new BlankFragment {
                Arguments = new Bundle()
            };

            detailsFrag.ViewDetails = details;
            return(detailsFrag);
        }
Ejemplo n.º 2
0
 public void ShowBlankScreen(OverlayDetails details)
 {
     if (IsActive(this.BlankOverLay) == false)
     {
         var frag = BlankFragment.NewInstance(details);
         using (var manager = Current.FragmentManager.BeginTransaction()) {
             manager.Add(Android.Resource.Id.Content, frag, this.BlankOverLay);
             HideAll(manager, this.BlankOverLay);
             manager.Commit();
         }
     }
 }