프로그래밍/android

[kotlin] android EditText setMaxLength Programmatically

-샤리- 2021. 6. 30. 14:38
val length = 50
editText.filters = arrayOf<InputFilter>(InputFilter.LengthFilter(length))