I'm not sure if this is the right place to put this, so if it's not feel free to move it to a different forum - I just thought it'd be a good place for beginners to find if ever someone's looking for this down the line

I would like to introduce my first LC Extension - the Android Event Listener! It came about from the need for us to find out when our app was placed into the background, and to run a handler accordingly, as well as running a handler when the app comes out of the background!
It's now on the extension store so you can download it and give it a shot! Naturally, for something this good, all I'm asking for is $1,000,000,000 per download, which I think is a pretty reasonable price for it

All you have to do is start the event handler in your card/stack open script, and close it on the close script. When the stack is paused, it should run the "StackPaused" handler, and when the stack is resumed, it should run the "StackResumed" handler, so as long as these are in the right places, you can make it do whatever you need!
I'm still super new to this, so if you don't have one of the paused/resume handlers in there, it'll throw an error in the IDE, but I'm not sure how to fix it, so until then, maybe just have both even if one's not needed, and have the code on it to nothing

Hopefully you can all make use of this, and if you have any questions/comments/bugs, please don't hesitate to let me know!
Good luck, and happy coding (and happy finding out when your app is suspended/resumed!)
Opaquer