Kotlin+Compose: can I call a function from within a notification action?
I’d like to bring up a notification with a button within the notification. When that button is pressed it should call a function elsewhere in my code. I’ve got the following code running but it doesn’t make the call to the function when I press the button.
Kotlin+Compose: can I call a function from within a notification action?
I’d like to bring up a notification with a button within the notification. When that button is pressed it should call a function elsewhere in my code. I’ve got the following code running but it doesn’t make the call to the function when I press the button.