I'm trying to make a addTextChangedListener on an ...
# anko
b
I'm trying to make a addTextChangedListener on an edit Text but it's being strange. I tried
editText { addTextChangedListener (object : TextWatcher) {...}}
There is no member onTextChanged
j
Try to put it as a dot after the edit text
b
Figured it out. It doesn't have the kotlin style lambdas so I had to do
editText.addTextChangedListener(object : TextWatcher { ...})