List and delete Android notifications -


is there way list of notifications of app?

i need list them , let user delete them 1 one, can't find way.

i don't believe can list notifications have been shown. if user wants clear notification app need pull notification draw down , swipe away. can have app cancel notification using notificationmanager supplying id of notification cancel method.

if use clicks notification have 2 options clearing.

1) when creating notification can call notification#setautocancel(true) , notification automatically cleared when user taps on it.

2) pass notification id part of pendingintent notification can use cancel notification when user taps on it.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -