Exemple #1
0
        public void Decrement(int amount, NotificationAnimationType animationType = NotificationAnimationType.None)
        {
            Decrement(amount);

            Animate(animationType);

        }
Exemple #2
0
 public void Animate(NotificationAnimationType animationType)
 {
     switch (animationType)
     {
         case NotificationAnimationType.Pop:
             Pop();
             break;
         case NotificationAnimationType.Blink:
             Blink();
             break;
         case NotificationAnimationType.Bump:
             Bump();
             break;
     }
 }
Exemple #3
0
        public void Animate(NotificationAnimationType animationType)
        {
            switch (animationType)
            {
            case NotificationAnimationType.Pop:
                Pop();
                break;

            case NotificationAnimationType.Blink:
                Blink();
                break;

            case NotificationAnimationType.Bump:
                Bump();
                break;
            }
        }
Exemple #4
0
        public void SetCount(int count, NotificationAnimationType animationType = NotificationAnimationType.None)
        {
            SetCount(count);

            Animate(animationType);
        }
Exemple #5
0
 public void Decrement(NotificationAnimationType animationType = NotificationAnimationType.None)
 {
     Decrement(1, animationType);
 }
Exemple #6
0
        public void SetCount(int count, NotificationAnimationType animationType = NotificationAnimationType.None)
        {
            SetCount(count);

            Animate(animationType);
        }
Exemple #7
0
        public void Decrement(int amount, NotificationAnimationType animationType = NotificationAnimationType.None)
        {
            Decrement(amount);

            Animate(animationType);
        }
Exemple #8
0
 public void Decrement(NotificationAnimationType animationType = NotificationAnimationType.None)
 {
     Decrement(1, animationType);
 }