public Task SnackbarAsync( string message, int msDuration = MaterialSnackbar.DurationLong, MaterialSnackbarConfiguration configuration = null) { return(MaterialSnackbar.ShowAsync(message, msDuration, configuration)); }
internal static async Task <IMaterialModalPage> Loading(string message, MaterialSnackbarConfiguration configuration = null) { var snackbar = new MaterialSnackbar(message, null, DurationIndefinite, configuration); await snackbar.ShowAsync(); return(snackbar); }
public Task <bool> SnackbarAsync( string message, string actionButtonText, int msDuration = MaterialSnackbar.DurationLong, MaterialSnackbarConfiguration configuration = null) { return(MaterialSnackbar.ShowAsync(message, actionButtonText, msDuration, configuration)); }
internal static async Task <bool> ShowAsync(string message, string actionButtonText, int msDuration = DurationLong, MaterialSnackbarConfiguration configuration = null) { var snackbar = new MaterialSnackbar(message, actionButtonText, msDuration, configuration) { InputTaskCompletionSource = new TaskCompletionSource <bool>() }; await snackbar.ShowAsync(); return(await snackbar.InputTaskCompletionSource.Task); }
internal static async Task ShowAsync(string message, int msDuration = 3000, MaterialSnackbarConfiguration configuration = null) { var snackbar = new MaterialSnackbar(message, null, msDuration, configuration); await snackbar.ShowAsync(); }