I need to handle orientation changes in my Android application. For this purpose I decided to use OrientationEventListener convenience class. But his callback m
OrientationEventListener
Add android:configChanges="orientation" in manifest file in activity tag like