I’ve two little questions around the general screen API. Probably i just did not found the right method in the API so perhaps you can guide me in the right direction.
First thing is that i want to add a Listener if the active screen changes. This might either be, because another tab is opened or because within a tab the user moves from the browse to the edit screen e.g. In case i get information about the now opened tab (screen id e.g.) through the listener the second question is obsolete.
Otherwise here’s the second question:
How do i can ask the system what screen is currently open. I found WindowManager.getOpenWindows() but I’m, not how to get the information which one is the currently active one.
Any help would be appreciated!