public async Task CloseAsync() { if (!IsRunning) { return; } await _materialPage.DismissAsync(); IsRunning = false; }
public static async Task DismissLoaderAsync() { if (DeviceApiHelpers.isUWP()) { await MainThread.InvokeOnMainThreadAsync(async() => UserDialogs.Instance.HideLoading()); } else { await MainThread.InvokeOnMainThreadAsync(async() => LoaderDialogue.DismissAsync()); } }
public void HideLoader() { materialDialog?.DismissAsync(); }
public async static Task HideLoading() { await Task.Run(async() => await Loading.DismissAsync()); Task.FromResult <object>(null); }
/// <inheritdoc /> public async Task HideLoadingDialogAsync() { await loadingDialog.DismissAsync(); }