Beispiel #1
0
        /// <inheritdoc />
        public IDialog DisplayAlert(DialogPriority priority, string title, string message, string cancel, string confirm, Action onConfirm = null, Action onCancel = null)
        {
            IDialog dialog = (DialogComponent)m_AlertDialogFactory.Create(title, message, cancel, confirm, onCancel, onConfirm);

            m_DialogService.SendRequest(DialogRequest.Create(dialog, priority));
            return(dialog);
        }
Beispiel #2
0
        /// <inheritdoc />
        public IDialog DisplayActivity(DialogPriority priority, string message)
        {
            IDialog dialog = (DialogComponent)m_ActivityIndicatorDialogFactory.Create(message);

            m_DialogService.SendRequest(DialogRequest.Create(dialog, priority));
            return(dialog);
        }