title: How to make an inherited class parcelable without common constructor?
body: <p>I get following error for <code>PhoneAppItem</code>:</p>
  
  <blockquote>
    <p>Parcelable should have primary constructor</p>
  </blockquote>
  
  <p>How can I solve this? I have a base class with constructors that don't share a basic constructor, so how can I extend such a class and make it parcelable in kotlin?</p>
  
  <p><strong>Ideas</strong></p>
  
  <ul>
  <li>add the primary constructor => then I get the exception, that my secondary constructors in <code>PhoneAppItem</code> do not call the primary constructor, IDE says following:</li>
  </ul>
  
  <blockquote>
    <p>primary constructor call expected</p>
  </blockquote>
  
  <p><strong>Code</strong></p>
  
  <p>Here's the basic barebone code (<em>I have more than 2 simple constructors!!</em>) that creates this error:</p>
  
  <pre><code>abstract class AbstractPhoneAppItem : Parcelable {
      constructor() {
  
      }
      constructor(packageName: String?) {
          this.packageName = packageName
      }   
  }
  
  
  @Parcelize
  class PhoneAppItem : AbstractPhoneAppItem {
      constructor() : super()
      constructor(packageName: String?) : super(packageName)
  }
  </code></pre>