Files
android_development/samples/browseable/ActiveNotifications/_index.jd
Trevor Johns 296083e2fc Sync sample prebuilts for mnc-dev
Synced with /developers/samples/android commit
415e5ce8ad7128bed20c28e923f2f91bbfff46a9.

Change-Id: I8716d051213210ec991fb692f79848a9f086a52c
2015-05-27 13:34:35 -07:00

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>