Add a new notification when push notification receives (not replace old one)
问题 I am using push notification on my app. I used to display a notification when a push notification comes, if I send another notification (without clearing the previous notification)it replaces the new notification. This is the code I use NotificationManager mNotificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); int icon = R.drawable.ic_launcher; CharSequence tickerText = "New notification Pending"; long time = System.currentTimeMillis(); Notification