Ejemplo n.º 1
0
        internal async Task Unsubscribe(Notification notification)
        {
            await notification.HideNotificationAnimation();

            notification.Options.OnClose?.Invoke();
            Notifications.Remove(notification);
            OnNotificationContainerCallChanges?.Invoke();
        }
Ejemplo n.º 2
0
 private void Open(NotificationConfigOptions options, NotificationType notificationType)
 {
     options.Type = notificationType;
     Notifications.Add(new NotificationListItem(options));
     OnNotificationContainerCallChanges?.Invoke();
 }
Ejemplo n.º 3
0
 internal void NotifyChange()
 {
     OnNotificationContainerCallChanges.Invoke();
 }