title: Android - Is there any Event which fires only when Application is minimized/maximized
body: <p>I am developing an application in Android which has several Activities and need to check some details only when application is minimized and maximized, not on Activity screens' navigation. <code>onPause()</code> and <code>onResume()</code> doesn't work. <code>onWindowFocusChanged()</code> also doesn't helped as that is also calling while navigating among screens. Please help in which way I can be able to get an event only when Application is minimized/maximized, not on screen navigation.</p>