I want to know when the user is interacting with my app. I've tried to use Window.Callback
but I faced an issue with Toolbar.
In case we call setSupportActionBar
(setActionBar
) my Window.Callback
doesn't receive events anymore.
Restriction:
I can't extend Activity
. I need one global place to handle all interactions with the app.
Try onUserInteraction().