Why do we need to call setContentView() in onCreate() of Activity class? Flashcards

1
Q

Questions

A

OnCreate is called only once in the activity lifecycle

so, we set the view only once

How well did you know this?
1
Not at all
2
3
4
5
Perfectly