Пример #1
0
        internal static async Task <MaterialLoadingDialog> Loading(string message, MaterialLoadingDialogConfiguration configuration = null)
        {
            var dialog = new MaterialLoadingDialog(message, configuration);
            await dialog.ShowAsync();

            return(dialog);
        }
Пример #2
0
 /// <summary>
 /// Shows a dialog indicating a running task.
 /// </summary>
 /// <param name="message">The message of the dialog.</param>
 /// <param name="configuration">The style of the loading dialog.</param>
 public static async Task <IMaterialModalPage> ShowLoadingDialogAsync(string message, MaterialLoadingDialogConfiguration configuration = null)
 {
     return(await MaterialLoadingDialog.Loading(message, configuration));
 }