[android-components](../../index.md) / [mozilla.components.ui.tabcounter](../index.md) / [TabCounter](index.md) / [setCountWithAnimation](./set-count-with-animation.md)

# setCountWithAnimation

`fun setCountWithAnimation(count: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/ui/tabcounter/src/main/java/mozilla/components/ui/tabcounter/TabCounter.kt#L67)