Synced with /developers/samples/android commit 415e5ce8ad7128bed20c28e923f2f91bbfff46a9. Change-Id: I8716d051213210ec991fb692f79848a9f086a52c
14 lines
434 B
Plaintext
14 lines
434 B
Plaintext
|
|
page.tags="ActiveNotification"
|
|
sample.group=Notification
|
|
@jd:body
|
|
|
|
<p>
|
|
|
|
The NotificationManager can tell you how many notifications your application is currently showing.
|
|
This sample demonstrates how to use this API that has been introduced with Android M.
|
|
To get started, press the "add a notification" button.
|
|
When a notification is being canceled, the count gets updated via a PendingIntent.
|
|
|
|
</p>
|