5

I am looking at the Fragment's Lifecycle here but cannot see where onActivityCreated gets called?

user1406716
  • 9,565
  • 22
  • 96
  • 151

1 Answers1

7

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.

RonTLV
  • 2,376
  • 2
  • 24
  • 38
Dimitar Genov
  • 2,056
  • 13
  • 11