Some users are reporting, if they use the quick action in the notification bar, they are getting a force close.
I show a quick action in the notification who calls t
Using the new lifecycle scopes of Activity-KTX its as simple as the following code sample:
lifecycleScope.launchWhenResumed { showErrorDialog(...) }
This method can directly be called after onStop() and will successfully show the dialog once onResume() has been called upon returning.