onActivityCreated(Activity activity, Bundle savedInstanceState)
No, these are separate things. The
Activity.onStart(), etc. methods are ones you override within your custom
Activity implementation to do your application specific work.
Application.ActivityLifecycleCallbacks are different and can be used for your app to track the coming/going of any
Activity within your app. You really have to have some special needs to use this functionality. These are often used in libraries which use singleton instances or other components which need to know if a given
Activity has been destroyed. Most apps probably do not need to use these callbacks.