How do you use onCreate on Android?

Đức Linh

New member
How do you use onCreate on Android?
Answer
onCreate(Bundle savedInstanceState) Function in Android:
After Orientation changed then onCreate(Bundle savedInstanceState) will call and recreate the activity and load all data from savedInstanceState. Basically Bundle class is used to stored the data of activity whenever above condition occur in app.
 

Tìm kiếm

Back
Top