I've done some searching and have been unable to find anything even closely related.
When a user cancels a notification in Android (by swiping the notification to one side of the screen), does anyone know of clean way to detect this? I think it would be a rather handy feature in an app to be able to cancel a notification and have the app recognize this and mark something as read in the app instead of clicking the notification and opening the app to mark something as read.