What Is the Difference Between onCreate and onStart Android?
Contents

What is the difference between onCreate () and onStart ()?

onCreate() is called when the when the activity is first created. onStart() is called when the activity is becoming visible to the user.

What is the onCreate method Android?

onCreate()

On activity creation, the activity enters the Created state. In the onCreate() method, you perform basic application startup logic that should happen only once for the entire life of the activity.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest