title: Android Realm Retrofit relationship error
body: <p>I am having an issue getting all of my POJOs and everything setup so that it parses my JSON correctly.</p>
  
  <p>I am fairly new to Android development so the fix could be something simple.</p>
  
  <p>I was able to get this to work without Realm. I think modified my POJOs to extend RealmObject. My issue is with my relationships. My data is setup so I have a WorkOrder class and a WorkOrderItem class. A WorkOrder contains many WorkOrderItems. Without realm I define this in my POJO as</p>
  
  <pre><code>private List&lt;WorkOrderItem&gt; workOrderItems = new ArrayList&lt;WorkOrderItem&gt;();
  </code></pre>
  
  <p>When I modify this to extend a RealmObject I start running into issue. I have tried</p>
  
  <pre><code>private RealmList&lt;WorkOrderItem&gt; workOrderItems;
  </code></pre>
  
  <p>As well as </p>
  
  <pre><code>private RealmList&lt;WorkOrderItem&gt; workOrderItems = new RealmList&lt;WorkOrderItem&gt;();
  </code></pre>
  
  <p>Either way I continue to receive the following error:</p>
  
  <pre><code>Error:(831, 82) error: incompatible types: List&lt;WorkOrderItem&gt; cannot be converted to RealmList&lt;WorkOrderItem&gt;
  </code></pre>
  
  <p>I have setup my GsonConverter as suggested in the documentation.</p>
  
  <p>I have read through all of the documentation and everything I can find online and still have not found a solution. Any help on this would be greatly appreciated.</p>