PRM392Xuất hiện trong 4 đề thi
What Activity lifecycle methods are called when a device-configuration change, such as rotation, occurs?
Các lựa chọn
AAndroid immediately shuts down your Activity by calling onStop(). Your code must restart the Activity.
BAndroid shuts down your Activity by calling onPause(), onStop(), and onDestroy(). Your code must restart the Activity.
CAndroid shuts down your Activity by calling onPause(), onStop(), and onDestroy(), and then starts it over again, calling onCreate(), onStart(), and onResume().
DAndroid immediately calls onResume().