When the device is rotated, the displayed activity may be paused or stopped. It is recreated in the new orientation. If the activity does not override onPause() and save its state, some elements of the state will be lost. All activities should work with no data loss when the device is rotated or other activity life cycle events occur.
When the device is rotated, the displayed activity may be paused or stopped. It is recreated in the new orientation. If the activity does not override
onPause()
and save its state, some elements of the state will be lost. All activities should work with no data loss when the device is rotated or other activity life cycle events occur.