https://kotlinlang.org logo
#android
Title
# android
e

egorand

10/08/2018, 8:51 PM
Is this possible? Why yes!
😂 2
u

user

10/08/2018, 8:51 PM
TextWatcher is preveting delete whole string from EditText, just char to char I have one Editext that use a TextWatcher, to make an Currency Mask. Is working fine, but when i try to delete text, pressing and holding backspace from soft-keyboard, the text isn't erased, unless i repeated press the key multiple times. I think that can be because every text change, i have to call setText, and this is messing the flow. Any suggestion ? myEditText.addTextChangedListener(object : TextWatcher { override fun onTextChanged(s: CharSequence, start: Int,...