title: Share ARCore Renderable between Activities
body: <p>How do I share a <a href="https://developers.google.com/ar/reference/java/com/google/ar/sceneform/rendering/Renderable" rel="nofollow noreferrer">Sceneform Renderable</a> between activities? </p>
  
  <p>I have an app where the user can read information about an object which has probably a renderable linked. In activity A, if a renderable is linked a click on a button starts an ARCore activity B to view and interact with the renderable. </p>
  
  <p>I load the renderable before asynchronously from a database in activity A for two reasons. First, to have it in memory and second, to know if there is a renderable to show. </p>
  
  <p>Right now, <a href="https://developer.android.com/reference/java/io/Serializable" rel="nofollow noreferrer">Serializable</a> <a href="https://developer.android.com/reference/android/os/Parcelable" rel="nofollow noreferrer">Parcelable</a> are not implemented by <a href="https://developers.google.com/ar/reference/java/com/google/ar/sceneform/rendering/Renderable" rel="nofollow noreferrer">Sceneform Renderable</a> and due to its complexity I cannot create an own class capable of doing that.</p>
  
  <p>My try would be to make an static class where I store the renderable in memory on activity A, startActivity B, and then readout the <a href="https://developers.google.com/ar/reference/java/com/google/ar/sceneform/rendering/Renderable" rel="nofollow noreferrer">Sceneform Renderable</a> in activity B and remove the entry from the static store class. But the question is, are there better more efficient ways to share a <a href="https://developers.google.com/ar/reference/java/com/google/ar/sceneform/rendering/Renderable" rel="nofollow noreferrer">Sceneform Renderable</a>, or any other custom complex object, between activities?</p>
  
  <p>I want do avoid waiting times in activity B where the renderable should be instantly available because the user must be able to view it due to he is coming form activity A.</p>