roughike / BottomBar

(Deprecated) A custom view component that mimics the new Material Design Bottom Navigation pattern.
Apache License 2.0
8.43k stars 1.51k forks source link

Show badge by default in setBadgeCount #834

Closed zachcole closed 6 years ago

zachcole commented 6 years ago

We hit a situation where after calling removeBadge and creating a new badge, the visibility was set to hidden by default, thus not showing the badge. Just throwing this in to explicitly set the visibility if it is not active and configured to be hidden while active.