title: Kotlin synthetic extension for view
body: <p>I have a layout with some views, one of them has the id <code>title_whalemare</code></p>
  
  <pre><code>import kotlinx.android.synthetic.main.controller_settings.*
  import kotlinx.android.synthetic.main.view_double_text.*
  
  class MainSettingsController : BaseMvpController&lt;MvpView, MvpPresenter&gt;() {
  
      val title: TextView = title_whalemare
  
      override fun getLayout(): Int {
          return R.layout.controller_settings
      }
  }
  </code></pre>
  
  <p>I try find it with <code>kotlin extensions</code>, but I can't because I get the following error</p>
  
  <p><em>None of the following candidates is applicable because of receiver type mismatch</em>
  <a href="https://i.stack.imgur.com/chqBS.png" rel="noreferrer"><img src="https://i.stack.imgur.com/chqBS.png" alt="None of the following candidates is applicable because of receiver type mismatch"></a></p>
  
  <p><code>controller_settings.xml</code></p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
                xmlns:tools="http://schemas.android.com/tools"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="vertical"&gt;
  
      &lt;TextView
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:id="@+id/title_whalemare"/&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Where is my mistake?</p>