Which of the following statements is false?
A) When an Activity is shut down, its onDestroy method is called, which in turn calls the onDestroy methods of all the Fragments hosted by the Activity.
B) We used the onDestroy method in the MainActivityFragment to release the CannonView's sound resources.
C) Method onDestroy is guaranteed to be called, so it can be used to release resources and to save critical data.
D) The Android documentation recommends that you save data in methods onPause or onSaveInstanceState.
Correct Answer:
Verified
Q12: A Frame-Layout is designed to display one
Q13: An app’s sound effects are managed with
Q14: Canvas's _ method draws a circle.
A) drawOval
B)
Q15: Sounds are played using one of Android’s
Q16: Game-development frameworks typically provide sophisticated _ collision-detection
Q18: Game developers often use full-screen themes, such
Q19: Which of the following statements is false?
A)
Q20: The Android documentation recommends that games use
Q21: Class SoundPool's _ method gives the resources
Q22: Methods getScreenWidth and getScreenHeight return the width
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents