title: what is the different between onCreate() and onCreateView() lifecycle methods in Fragment?
body: <p>I don't know when to use <code>onCreate()</code> or <code>onCreateView()</code>.</p>
  
  <p>I have used <code>onCreate()</code> and <code>onCreateView()</code> lifecycle methods. 
  I think <code>onCreate()</code> for Activity and <code>onCreateView()</code> for Fragment. But I am not sure. Can I use <code>onCreate()</code> LifeCycle method in Fragment? I hope somebody can help me! </p>