title: onstart() on Fragment is getting called twice in android
body: <p>I have an activity on which I have one fragment. In onStart() of fragment I have all network calls.When app comes from background onStart() is getting called twice and all network are called twice and I also observed that onCreate()is called only once.Has some one faced such issue.Please help me out.
  My code for fragment transaction is as below</p>
  
  <pre><code> MainFragment myFragment = new MainFragment ();
                  FragmentManager fragmentManager = getSupportFragmentManager();
                  FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();
                  fragmentTransaction.replace(R.id.content_frame, myFragment, "MyFragment");
                  fragmentTransaction.commitAllowingStateLoss();
  </code></pre>
  
  <p>Thanks in advance !!!</p>