Which callback is called first when an activity is created?
- onCreate()
- onStart()
- onResume()
- onRestart()
Answer
A) onCreate()
onCreate() is the first lifecycle method.
Computer Science MCQ · More Android OS: Architecture, Framework and Application Development MCQs · Practise