Exemplo n.º 1
0
        internal void NotifySnackbarActionRemoved(SnackbarAction snackbarAction)
        {
            if (snackbarAction == null)
            {
                return;
            }

            if (snackbarActions.Contains(snackbarAction))
            {
                snackbarActions.Remove(snackbarAction);
            }
        }
Exemplo n.º 2
0
        internal void NotifySnackbarActionInitialized(SnackbarAction snackbarAction)
        {
            if (snackbarAction == null)
            {
                return;
            }

            if (!snackbarActions.Contains(snackbarAction))
            {
                snackbarActions.Add(snackbarAction);
            }
        }