Digits Input Filter
class DigitsInputFilter(decimalDigits: Int, integerDigits: Int, totalDigits: Int, pasteEnable: Boolean) : InputFilter
Content copied to clipboard
限制数字输入
Constructors
DigitsInputFilter
Link copied to clipboard
fun DigitsInputFilter(decimalDigits: Int = 2, integerDigits: Int = Int.MAX_VALUE, totalDigits: Int = Int.MAX_VALUE, pasteEnable: Boolean = true)
Content copied to clipboard
Functions
filter
Link copied to clipboard
open override fun filter(source: CharSequence, start: Int, end: Int, dest: Spanned, dstart: Int, dend: Int): CharSequence?
Content copied to clipboard
Properties
decimalDigits
Link copied to clipboard
integerDigits
Link copied to clipboard
pasteEnable
Link copied to clipboard
totalDigits
Link copied to clipboard