public void Decrement(int amount, NotificationAnimationType animationType = NotificationAnimationType.None) { Decrement(amount); Animate(animationType); }
public void Animate(NotificationAnimationType animationType) { switch (animationType) { case NotificationAnimationType.Pop: Pop(); break; case NotificationAnimationType.Blink: Blink(); break; case NotificationAnimationType.Bump: Bump(); break; } }
public void SetCount(int count, NotificationAnimationType animationType = NotificationAnimationType.None) { SetCount(count); Animate(animationType); }
public void Decrement(NotificationAnimationType animationType = NotificationAnimationType.None) { Decrement(1, animationType); }