You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently cannot set badge count in text format. In case number is large such as 150,200... i want to display badge number as "99+". But there is method set badge with integer only.
The text was updated successfully, but these errors were encountered:
itman85
changed the title
Support set badge count in text format
Not support set badge count in text format
Oct 6, 2017
The problem with this approach is that some logic is performed behind the badge count (like hiding or showing if greater or less than 0), so I'm not sure how the app should behave when having String values.
IMO, I'd agree implementing something like TextView's ellipse (using a threshold), like, if count > x show '+' sign.
What do you think @itman85 and @roughike ?
I'd gladly drop a PR !
I currently cannot set badge count in text format. In case number is large such as 150,200... i want to display badge number as "99+". But there is method set badge with integer only.
The text was updated successfully, but these errors were encountered: