If we want to code the View programmatically and separate the View from the Controller, then we should have an instance variable representing the View inside the Controller so that we can call the methods of the View in order to update it.
Correct Answer:
Verified
Q10: The show method belongs to the AlertDialog.Builder
Q11: What method do we use to set
Q12: We used the GridLayout.Spec class in the
Q13: An AlertDialog.Buider constructor has this API:
Public AlertDialog.Buider
Q14: When we call the getSize method of
Q15: The Color class in the android.graphics package
Q16: A dialog box can have only one
Q18: The getDefaultDisplay method from the WindowManager interface
Q19: The View.OnClickListener interface can be implemented to
Q20: If TicTacToe is the class for the
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