title: Using a secondary constructor in Kotlin
body: <p>I get the error:</p>
  
  <blockquote>
    <p>Expecting member declaration</p>
  </blockquote>
  
  <pre><code>class MyAdapter(val context: Context)  {
      constructor(context: Context,  itemInfos: List&lt;ItemInfo&gt;): RecyclerView.Adapter&lt;ContentItemViewHolder&gt; {
  
      }
  }
  </code></pre>
  
  <p>What am I doing wrong?</p>