Notification - autocancel or cancel

jscoulter

Member
Licensed User
Longtime User
I am keeping an internal counter of notifications being displayed.

I have AutoCancel set to true, but I need to know that the notification has been cancelled so I can adjust my counter. the Notification even doesnt have any events, so how do you know a notification has been cancelled?

Which then leads me to my next question, if I DONT set the AutoCancel to true, how do you then get rid of the notification? i.e. as above there are no events on the notification object....


Jeremy
 

jscoulter

Member
Licensed User
Longtime User
Where does the limitation come from with notifications having no events?
B4A or Android ?

What is the best way to deal with this situation? As you can imagin, if you are adding notifications, and the user has cancelled all say 5 of them, the next one will be 6, when in fact there is only "1".

The problem with the statement "You can remove a notification by calling the cancel method" that you made is, how can I cancel it if I dont know it was pressed by the user? You see the dilema :BangHead:


Jeremy
 
Upvote 0
Top