In most Android apps, onCreate() is overridden with the first bit of code being super.onCreate(savedInstanceState) and I know this gathers the savedInstanceState Bundle and is neccessary for compilation but what about all of the constructors?
onResume(), onStop(), onStop() etc. Which overridden methods have important super constructors you need to include?
Is there a list somewhere?
I see the super constructors included in some code, not in others.. I have included them sometimes myself, others not and have never really noticed a difference..
Any light that could be shed would be well received!
Cheers
onCreate(),onStart()andonResume()are used to startup the activity while ononStop()andonDestroy()are used to stop or clean up the activity.As per the documentation you need to call the super for each of the method.
For more info