title: Make HTTP requests in Fragment onCreateView, onCreate or onActivityCreated?
body: <p>I use Navigation Tabs in my app. I have 3 fragments which load different data from Internet. I want to know the best place where to put the code that make the HTTP request, in <code>onCreate</code>, <code>onCreateView</code> or <code>onActivityCreated</code>? </p>
  
  <p>Usually, I put all the code (requesting data, populating adapter, inflating view...) in <code>onCreateView</code>. I also saw many people doing it on Internet. </p>
  
  <p>But this guide <a href="https://github.com/thecodepath/android_guides/wiki/Creating-and-Using-Fragments" rel="noreferrer">https://github.com/thecodepath/android_guides/wiki/Creating-and-Using-Fragments</a> do things differently. So I want to be sure on what to do exactly.</p>