title: is setRetainInstance(true) the best way to deal with fragments losing their shown/hidden when configuration change (screen flip)?
body: <p>When the activity gets restarted all the fragments that where hidden show again. By setting this atribute to true the fragment retains its instance. This looks weird to me and I don't understand why this behavior is not set by default.
  Is this the best way of doing this?</p>