How to enable TextView click if one of few EditText fields changed
I have tree EditText with default value and button "Save". By default my button is disabled (grey, not clickable), but when I set onCLickListener on button it became active straightaway.
It should become active if at least one of these fields is changed. I don't know how to do it better, maybe through Boolean variable? Now I only can disable button in TextWatchers for editTexts:
val textWatcher = object : TextWatcher {
override fun afterTextChanged(et: Editable?) {
when {...