コード例 #1
0
        private void DialogOnClick(object sender, EventArgs eventArgs)
        {
            var dialog = new NameDialogFragment();

            dialog.ViewModel = HomeViewModel.Names;
            dialog.Show(SupportFragmentManager, NameDialogTagName);
        }
コード例 #2
0
 private void DialogOnClick(object sender, EventArgs eventArgs)
 {
     var dialog = new NameDialogFragment(this);
     dialog.ViewModel = HomeViewModel.Names;
     dialog.Show(SupportFragmentManager, "A Name Dialog");                                     
 }