What exactly onCreate() method will do in a Fragment Life Cycle in an Android Application : <p>I am confusing onCreate() method in both Activity and Fragment. What onCreate() will do in Fragment and What are differences onCreate() method between Activity and Fragment.Please help me i am learning by myself.</p>

<p>Thanks......</p>
