• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Search results

  1. buffoon

    How to set the notification badge count programatically without sending notification?

    I want to change the notification badge count, say, whenever the user clicks on a button. At the moment, the only way I know to change the notification badge count is by sending a notification like so: Notification notification = new NotificationCompat.Builder(MainActivity.this, CHANNEL_ID)...