Question:Suppose MyView is a class derived from View and mView is a variable of type MyView. Which of the following should be used to display mView when the Android application is started? 

A Call setCurrentView(mView) in the startApp() of the main application class. 

B Call setContentView(mView) in the startApp() of the main application class. 

C Call setContentView(mView) in the onStart() of the main application class. 

D Call setContentView(mView) in the onCreate() of the main application class. 

+ Answer
+ Report
Total Preview: 2119

Copyright © 2024. Powered by Intellect Software Ltd