onConfigurationChanged is called when the orientation of the device changes from portrait to landscape and vice versa. But it isn't called when the rotation of device changes from 90 to 270 and vice versa. They both are landscape.
Is there a function that's called when such an event occurs? I don't want to continuously check for rotation.
My app checks the rotation of the device in onConfigurationChanged. Works fine except for the one case I mentioned.
Would anyone know what should be done here? I searched a lot, couldn't find anything.
Thanks!