title: Only concrete Realm classes are allowed in RealmLists. Neither interfaces nor abstract classes are allowed
body: <p>I am trying to convert my <code>kotlin-data-class</code> into <code>Realm supported model class</code> but getting the above error.</p>
  
  <p>I have followed this below link to convert my data class into realm supported class 
  <a href="https://stackoverflow.com/questions/34368374/kotlin-data-class-of-realmobject">Kotlin data class of RealmObject</a></p>
  
  <p>This error has come because of my model class contains <code>RealmList&lt;Any&gt;</code> and As I am using <code>JSON to Kotlin class plugin</code> for converting my JSON object to the corresponding kotlin data class(which has converted it to List type)</p>
  
  <p>Below is my Realm kotlin class</p>
  
  <pre><code>open class View :RealmObject() {
      var alignment: String?=null
      var bg_color: String?=null
      var company_id: String?=null
      var group_title_text: GroupTitleText?=null
      var layout: String?=null
      var questions: RealmList&lt;Any&gt;?=null
      var screen_id: String?=null
      var survey_id: String?=null
      var title: String?=null
  }
  </code></pre>
  
  <p>Please help me find a solution. Any help is appreciated.</p>