title: Kotlin addTextChangeListener lambda?
body: <p>How do you build a lambda expression for the EditText addTextChangeListener in Kotlin? Below gives an error:</p>
  
  <pre><code>passwordEditText.addTextChangedListener { charSequence  -&gt;
      try {
          password = charSequence.toString()
      } catch (error: Throwable) {
          raise(error)
      }
  }
  </code></pre>