title: Android: setRetainInstance bad practice for screen rotation?
body: <p>I know its possible to SetRetainInstance in a fragment so that when an activity is detroyed the fragmetn isn't destroyed with it. Then when the activity is recreated we can re attached the fragment. I see lots of people using this for screen rotation, but isn't this bad practice?</p>
  
  <p>Or can we ignore this?</p>
  
  <p>What is the ideal way of saving info between config changes if we can't use SetRetainInstance ?</p>
  
  <p>I do have one query if I did use SetRetainInstance  in a fragment that means that it wouldn't get destroyed when the activity gets detroyed so how do we ensure that this activity doesn't get left behind ?</p>
  
  <p>Is this a concern ?</p>
  
  <p>Thanks</p>