How to remove a notification when clicked, or service is finished?
-
14-01-2021 - |
题
How to remove notification from screen when it is clicked? Or if it is a service, and the service has finished its onCreate()?
解决方案
You can just cancel the notification:
http://developer.android.com/reference/android/app/NotificationManager.html#cancel(int
不隶属于 StackOverflow