A mi me funciona bien este código:
private var resultInt: Int by Delegates.observable(0) { _, _, value ->
tv.text = value.toString()
}
val ed1: EditText = findViewById(R.id.editTextNumber)
val ed2: EditText = findViewById(R.id.editTextNumber2)
tv = findViewById(R.id.textView)
ed1.doOnTextChanged { text, _, _, _ ->
resultInt =
(text.toString().toIntOrNull() ?: 0) + (ed2.text.toString().toIntOrNull() ?: 0)
}
ed2.doOnTextChanged { text, _, _, _ ->
resultInt =
(text.toString().toIntOrNull() ?: 0) + (ed1.text.toString().toIntOrNull() ?: 0)
}