Tell us why would you do the setcontentview() in oncreate() of activity class?
Answer / Sudhanshu Singh
The `setContentView()` method is called in the `onCreate()` method of an Activity to inflate and set the layout for the Activity. This layout defines the visual structure of the user interface (UI) of the Activity.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is toast notification?
Is it ok to disable android system webview?
Is android 6.0 still supported?
What are the different types of intents in android?
Explain what is application context?
Which is the latest operating system for android?
Which method is implemented by all subclasses of an activity?
What items are important in every android project?
Does selenium support google android operating system?
Which method to opena http connection to an uri?
What does fragment mean?
How many ways data stored in Android?