internal static MedicalTestFragment NewInstance(bool?canback = false) { var fragment = new MedicalTestFragment(); fragment.CanBack = canback.Value; return(fragment); }
protected override Android.Support.V4.App.Fragment CreateFragment() { var canBack = Intent.GetBooleanExtra("canBack", false); return(MedicalTestFragment.NewInstance(canBack)); }