What Activity lifecycle methods are called when a device-configuration change (such as rotation) occurs?
(Choose
A. Android immediately shuts down your Activity by calling onStop(). Your code must restart the Activity
1 answer)
B. Android shuts down your Activity by calling onPause(), onStop(), and onDestroy(). Your code must restart the Activity.
C. Android shuts down your Activity by calling onPause(), onStop(), and onDestroy(), and then starts it over again, calling onCreate(), onStart(), and onResume().
D. Android immediately calls onResume().
Ett 14