In my View layer I'm attaching `TextWatcher` to fi...
# announcements
j
In my View layer I'm attaching
TextWatcher
to fields and I'm calling them from
onTextChanged()
k
But where is
onTextChanged
called from?
j
@karelpeeters In my View (Android
Fragment
) I'm creating `EditText`s and setting to them Android
TextWatcher
. In the method
afterTextChanged(s: Editable)
I'm calling approprietate function from my
ViewModel
e.g.
viewModel.onEmailChanged(it.toString())