We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to update badge programmatically and it just won't refresh for some reason. It stays with the old value. Any idea?
The text was updated successfully, but these errors were encountered:
you can use global variable
Kotlin example
private var badgeView: BadgeView @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { badgeView = BadgeFactory.createCircle(context) } private fun updateBadge() { badgeView.setBadgeCount(3).setTextSize(10).setBadgeGravity(Gravity.TOP or Gravity.LEFT).bind(imgView) }
Sorry, something went wrong.
Is this the Solution. i am facing the same issue?
It Worked! Close This Issue mate 👯♂️
No branches or pull requests
I am trying to update badge programmatically and it just won't refresh for some reason.
It stays with the old value.
Any idea?
The text was updated successfully, but these errors were encountered: