When is onAttach called during the Fragment LifeCycle?
<p>Exactly when is <code>onAttach</code> called during the Fragment-Activity lifecycles? </p>

<p>I am aware of the Fragment Life-Cycle but exactly when?</p>

<p>Is it when the fragment object is initiated or when fragment manager is called?</p>