Search code examples
androidnotificationmanager

How to create more than once Notification in android class?


How do you go about making a new notification with one application inside of one class? I am trying to launch more than one notification from one class.


Solution

  • If you look at the notification example in the guide, when you call NotificationManager.notify you can pass a different id value to create a new status bar notification.