class SecurityCodeEditText : EditText
Specialized text field for collecting security code.
SecurityCodeEditText(context: Context?)SecurityCodeEditText(context: Context?, attrs: AttributeSet?)SecurityCodeEditText(context: Context?, attrs: AttributeSet?, defStyleAttr: Int)
TextInputEditText constructor |
var cardBrand: () -> CardBrand?
Security code validation, format and hint depend of the card brand |
var editTextValidationListener: ValidationListener?
Listener for validation state change |
|
var errorText: String?
Text message shown in case of error |
|
var format: (String) -> String
Text formatter |
|
var hintText: String?
Hint text |
|
var isValid: Boolean
Return True if the field is valid |
|
var textLayout: TextInputLayout?
Parent TextInputLayout |
|
var validate: (String) -> Boolean
Text validation |
fun onFocusChanged(focused: Boolean, direction: Int, previouslyFocusedRect: Rect?): Unit
The hint text can change depending of the card brand |