https://kotlinlang.org logo
#compose
Title
# compose
s

sen kumar

02/27/2021, 5:09 AM
How to implement addTextChangedListener(TextWatcher watcher) in a TextField compose
c

Colton Idle

02/27/2021, 6:22 PM
I don't believe you're supposed to have these sort of "listeners" in compose. You hold the data and so you know when it changes.
s

sen kumar

02/27/2021, 7:08 PM
Thanks Colton - This is for a real time validation as the user types each char - I am not sure without listeners there is an option to do such a validation.
18 Views