title: SavedInstanceState is always null in fragment
body: <p>I have a fragment attached to the activity using XML (and setContentView() in activity). A have a problem because I have very dynamic views in my fragment, so when orientation changes 
  I must restore all states of views. </p>
  
  <p>I have problem because I'm using something like that:</p>
  
  <pre><code>public void onSaveInstanceState(Bundle outState) {
          super.onSaveInstanceState(outState);
          outState.putBoolean("restore", true);
          outState.putInt("nAndroids", 2);
     }
  </code></pre>
  
  <p>But after orientation change when methods with param Bundle savedInstanceState are called (like onCreateView etc) my savedInstanceState is always null. </p>
  
  <p>I'm not a noob in the Android but now I'm very angry because of this problem...</p>
  
  <pre><code>public void onViewCreated(View view, Bundle savedInstanceState) {
      super.onViewCreated(view, savedInstanceState);
  
      if (savedInstanceState == null) {
          //smth
      } else {
          // smthelse THIS IS NEVER REACHED BECAUSE BUNDLE IS ALWAYS NULL
      }
  
      getListView().setDivider(getResources().getDrawable(R.drawable.list_divider));
  }
  </code></pre>