1

catch on swipe to dismiss event

view story
linux-howto

http://stackoverflow.com – I'm using an android notification to alert the user once a service is finished (success or failure), and I want to delete local files once the process is done. My problem is that in the event of failure - I want to let the user a "retry" option. and if he chooses not to retry and to dismiss the notification I want to delete local files saved for the process purposes (images...). Is there a way to catch the notification's swipe-to-dismiss event? (HowTos)