title: How to manage realm instance?
body: <p>I have an Activity that manage multiples fragments and nested fragment, like that :</p>
  
  <p>Activity -> RootFragment1 -> NestedFragment1, NestedFragment2 <br />             -> RootFragment2 -> NestedFragment3, NestedFragment4
  ...</p>
  
  <p>I use to get a realm instance and close it in each nested fragment in onStart, onStop methods but sometimes I meet this exception :</p>
  
  <blockquote>
    <p>Fatal Exception: java.lang.IllegalStateException: This Realm instance
    has already been closed, making it unusable.</p>
  </blockquote>
  
  <p>Is there a recommended way to get a Realm instance and close it ? In my case should I get an instance in Activity and pass it through my fragments ?</p>