same ID then the notification gets updated

same ID then the notification gets updated

Be sure to use the same NotificationCompat.Builder builder each time for creating the Notification! Although the first time you have to set everything, the second time using the Builder you only have to set the value(s) you want to update. After that it's calling notificationManager.notify(id, builder.build()) just like you did. If you use the same ID then the notification gets updated (important!).