I am looking at the Fragment's Lifecycle here but cannot see where onActivityCreated gets called?
Asked
Active
Viewed 4,126 times
5
-
2Here's a better diagram http://i.stack.imgur.com/cJ3QW.png – Bidhan Jul 06 '15 at 03:26
1 Answers
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