private async void OnSwipeNotificationStep2ButtonTapped(object sender, GestureEventArgs e) { SimpleToastNotification simpleToastNotification = new SimpleToastNotification(); simpleToastNotification.Title = "PRISM has been removed to favorites"; simpleToastNotification.Id = "album.favoritestatus.27493"; DismissStatus result = await simpleToastNotification.EnqueueAndShow(_notificationManager); }
private async void OnSimpleAsyncTextToastButtonTapped(object sender, GestureEventArgs e) { SimpleToastNotification simpleToastNotification = new SimpleToastNotification(); simpleToastNotification.Title = "Do you want to tap me async ?"; DismissStatus result = await simpleToastNotification.EnqueueAndShow(_notificationManager); MessageBox.Show("Toast has been dismissed: " + result); }