Пример #1
0
        public void ShowAddSitesDialog()
        {
            try {
                Android.App.FragmentTransaction fragmentTransaction;
                fragmentTransaction = homeActivity.FragmentManager.BeginTransaction();

                Android.App.DialogFragment dialogFragmentAddSites;
                AddSitesFragment           addSitesFragment = new AddSitesFragment();

                homeActivity.dialogFragmentAddSites = addSitesFragment;
                homeActivity.dialogFragmentAddSites.Show(fragmentTransaction, "addsitesdialog");
            } catch (Exception ex) {
                Insights.Report(ex);
            }
        }
Пример #2
0
		public void ShowAddSitesDialog()
		{	
			try {
				Android.App.FragmentTransaction fragmentTransaction;
				fragmentTransaction = homeActivity.FragmentManager.BeginTransaction ();

				Android.App.DialogFragment dialogFragmentAddSites;
				AddSitesFragment addSitesFragment = new AddSitesFragment ();

				homeActivity.dialogFragmentAddSites = addSitesFragment;
				homeActivity.dialogFragmentAddSites.Show (fragmentTransaction, "addsitesdialog");
			} catch (Exception ex) {
				Insights.Report (ex);
			}
		}