MR3Y
06/25/2025, 9:54 PMonUserInteraction
method in the main activity and run that logic from there. This works for any composable as long as they are in the same activity window but somewhere deep in the hierarchy I have some dialogs that will be shown conditionally. Obviously this interception technique doesn't work with these Dialogs because they live in their own window.
Is there a way to achieve what I want globally?