open class EditText : TextInputEditText
Base class for the Payment Highway text input ui items
EditText(context: Context?)EditText(context: Context?, attrs: AttributeSet?)EditText(context: Context?, attrs: AttributeSet?, defStyleAttr: Int)
TextInputEditText constructor |
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 |
open fun onFocusChanged(focused: Boolean, direction: Int, previouslyFocusedRect: Rect?): Unit
When the focus change can be set either the hint text either the error |
class CardNumberEditText : EditText
Specialized text field for collecting credit number. |
|
class ExpiryDateEditText : EditText
Specialized text field for collecting expiration date. |
|
class SecurityCodeEditText : EditText
Specialized text field for collecting security code. |