11
Kotlin addTextChangeListener lambda吗?
如何在Kotlin中为EditText addTextChangeListener构建lambda表达式?下面给出了一个错误: passwordEditText.addTextChangedListener { charSequence -> try { password = charSequence.toString() } catch (error: Throwable) { raise(error) } }