title: Error using RealmList with Moshi
body: <blockquote>
    <p>Caused by: java.lang.IllegalArgumentException: Platform java.lang.Class annotated [] requires explicit JsonAdapter to be registered</p>
  </blockquote>
  
  <p>I get the above error when using a RealmList with Moshi.</p>
  
  <pre><code>public class MenuModel implements RealmModel
  {
      @Json(name = "menugroups")
      private RealmList&lt;MenuGroupModel&gt; menugroups = null;
  }
  </code></pre>
  
  <p>I have researched this a bit and found the following:</p>
  
  <p><a href="https://github.com/realm/realm-java/issues/2711" rel="nofollow noreferrer">https://github.com/realm/realm-java/issues/2711</a></p>
  
  <p>The solution there says I need to use a <strong>RealmListAdapter</strong>. I have copied the code to my project. I, however, have no idea how and where to implement this adapter.</p>
  
  <p>How do I use it?</p>