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

            Animate(animationType);

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

            case NotificationAnimationType.Blink:
                Blink();
                break;

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

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

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

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