developers/samples/android: f9872ded3bb6cd3c01ab0881a58764f5171b4c64 developers/build: 23e77f8a040c0b35531a68e776363f32fa7feeeb Change-Id: I93e7c66e0cff22d3852d36a1a1257bb10eec3ba0
18 lines
623 B
Plaintext
18 lines
623 B
Plaintext
|
|
page.tags="ActiveNotifications"
|
|
sample.group=Android N Preview
|
|
@jd:body
|
|
|
|
<p>
|
|
|
|
Notifications can now be grouped in Android N. Since Android M, the
|
|
NotificationManager can tell you how many notifications your application
|
|
is currently showing. This sample demonstrates how to use these APIs
|
|
together for a nicer user experience when an app may have multiple
|
|
notifications. To get started, press the "add a notification" button.
|
|
If you add more than one notification a notification summary will be
|
|
added. When a notification is being canceled, the count gets updated
|
|
via a PendingIntent.
|
|
|
|
</p>
|