I am trying to figure out if there is way to monitor any ongoing requests before moving to another screen or doing some actions on the phone.
This activity is part of the testing activities where we need to know how much time the app is taking to be in a idle state.
Please suggest how can I check if app is in idle state without any network calls.