Exemple #1
0
        public static DialogPassword NewInstace(Bundle bundle)
        {
            var fragment = new DialogPassword();

            fragment.Arguments = bundle;
            return(fragment);
        }
Exemple #2
0
        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();
        }