What happens inside onCreate function?

There are a lot of things inside increate function…i am not able to understand…please help me in it

onCreate() is a function that is called when the activity or the app starts.
in this function, you can add the code for what you are expecting from the app when the app starts. here there is a setContentView(R.id.activity_main) which binds the activity to its layout.
The rest of the code is explained in the video. Let me know if there’s anything I’ve missed.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.