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
Use a new notification ID every time instead of hardcoding to 1:
int i = x; //Generate a new integer everytime mNotificationManager.notify(i, notification);