Trang Esther
New member
What is the purpose of onCreate () function in Android?
Answer
onCreate(Bundle savedInstanceState) Function in Android:
Basically Bundle class is used to stored the data of activity whenever above condition occur in app. onCreate() is not required for apps. But the reason it is used in app is because that method is the best place to put initialization code.
Answer
onCreate(Bundle savedInstanceState) Function in Android:
Basically Bundle class is used to stored the data of activity whenever above condition occur in app. onCreate() is not required for apps. But the reason it is used in app is because that method is the best place to put initialization code.