They are all called in the Fragment but are called at different times. The onCreate()
is called first, for doing any non-graphical initialisations. Next, you can assign and declare any View variables you want to use in onCreateView()
. Afterwards, use onActivityCreated()
to do any final initialisations you want to do once everything has completed.
Also check this two diagrams: