Пример #1
0
        private void OpenDialog(Type activity, string msg)
        {
            FragmentTransaction transaction        = FragmentManager.BeginTransaction();
            NotificationDialog  notificationDialog = new NotificationDialog(activity, msg);

            notificationDialog.Show(transaction, "dialog fragment");
        }
        private void OpenDialog()
        {
            FragmentTransaction transaction        = FragmentManager.BeginTransaction();
            NotificationDialog  notificationDialog = new NotificationDialog(typeof(SellerMainActivity), "Apmokejimas issiustas sekmingai!"); //Change to SellerMainActivity

            notificationDialog.Show(transaction, "dialog fragment");
        }