title: Kotlin constructor ArrayAdapter not recognized
body: <p>I have an issue with extending ArrayAdapter in Kotlin.</p>
  
  <p>Here the code:</p>
  
  <pre><code>class SpinnerArrayAdapter(context: Context?, resource: Int, list: ArrayList&lt;Pair&lt;Long, String&gt;&gt;) : ArrayAdapter&lt;Pair&lt;Long, String&gt;&gt;(context, resource, list) {
      override fun getCount(): Int {
          return list.size //error list is unresolved
      }
  }
  </code></pre>
  
  <p><strong>Edit</strong>
  Not related to the ArrayAdapter extend. My problem was the constructor understanding. </p>