In my app I have groups and for each group there can be updates which I am showing in notification. But in database I have group ids as
NotificationManager.notify(String tag, int id, Notification notification)
(tag, id) combination of notifications to be shown differently should be different. Otherwise the latest one will replace the previous one. So, here you can just use the
string id you have as
tag if it is unique and use any int
id as the combination must be unique.