I use redMadRobot/input-mask
library to mask edittext. But I need space between DD / MM / YYYY like in example image and /
symbol must be always visible. But I can't do it with this library as I see.
Code :
const val DATE_MASK = "[00]{/}[00]{/}[9900]"
MaskedTextChangedListener.Companion.installOn(
editText, DATE_MASK, object : MaskedTextChangedListener.ValueListener {
override fun onTextChanged(
maskFilled: Boolean,
extractedValue: String,
formattedValue: String
) {
//transactions
}
}
)
Is there any native edittext property to make this desgin or can you suggest another library?