https://kotlinlang.org logo
#anko
Title
# anko
b

blakelee

04/24/2017, 11:42 PM
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

joe_androidsecurity

04/25/2017, 5:46 PM
Try to put it as a dot after the edit text
b

blakelee

04/27/2017, 6:32 AM
Figured it out. It doesn't have the kotlin style lambdas so I had to do
editText.addTextChangedListener(object : TextWatcher { ...})
9 Views