public static DialogPassword NewInstace(Bundle bundle) { var fragment = new DialogPassword(); fragment.Arguments = bundle; return(fragment); }
private void Show_Dialog_Password() { Android.Support.V4.App.FragmentTransaction ft = SupportFragmentManager.BeginTransaction(); var dialogFragment = DialogPassword.NewInstace(null); dialogFragment.Dialog_Closed += DialogFragment_DialogClosed; ft.Add(dialogFragment, "dialog_Password"); ft.CommitAllowingStateLoss(); }