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