I am using push notifications in my app. I need to display a notification when a push notification delivered. If I send another notification (without clearing the previous notif
You can also use System.currentTimeMillis() to assign unique id to your notification.
int id = (int) System.currentTimeMillis(); mNotificationManager.notify(id, notification);