title: How to detect Android screen orientation changed
body: <p>Is anyone know how to detect the screen orientation changed before Android invoke onDestroy method? There is an async task in an activity that need to be cancelled when onDestroy method was invoked. I wouldn't want the async task to be cancelled when screen orientation changed.</p>