1 2 page.tags="ActiveNotifications" 3 sample.group=Android N Preview 4 @jd:body 5 6 <p> 7 8 Notifications can now be grouped in Android N. Since Android M, the 9 NotificationManager can tell you how many notifications your application 10 is currently showing. This sample demonstrates how to use these APIs 11 together for a nicer user experience when an app may have multiple 12 notifications. To get started, press the "add a notification" button. 13 If you add more than one notification a notification summary will be 14 added. When a notification is being canceled, the count gets updated 15 via a PendingIntent. 16 17 </p> 18