As we know, maxLength for EditText is set by:
android:maxLength="19"
or programmatically. My question is that how can I remove this maxLength programmatically if it was set to certain length? I want to set maxLength to the maximum length possible.
Just try to set empty InputFilter Array for remove the Max Length.
etEmail.filters = arrayOf<InputFilter>()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With