I am looking at the Fragment's Lifecycle here but cannot see where onActivityCreated gets called?
When does onActivityCreated get called in a Fragment's Lifecycle?
Asked Answered
Here's a better diagram i.sstatic.net/cJ3QW.png –
Edlin
From the docs docs:
Called when the fragment's activity has been created and this fragment's view hierarchy instantiated
So basically onActivityCreated
is called after the host activity onCreate
has returned.
the link is broken –
Fustian
© 2022 - 2024 — McMap. All rights reserved.