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

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