title: Setting text in EditText Kotlin
body: <p>I am trying to set text in a EditText but it says:</p>
  
  <pre><code>Type mismatch. 
  Required: Editable 
  Found: String
  </code></pre>
  
  <p>My code is as follow:</p>
  
  <pre><code>String name = "Paramjeet"
  val nametxt = findViewById (R.id.nametxt) as EditText
  nametxt.text = name
  </code></pre>
  
  <p>Don't say to use <code>setText</code> because I am using kotlin, not Java.</p>