class PhoneInputView : FieldView
View use for phone number input
PhoneInputView(context: Context?, attrs: AttributeSet? = null)
View use for phone number input |
val mobileNumberView: SingleFieldView |
lateinit var validationRule: ValidationRule |
fun getInput(): String?
Provides the input |
|
fun hideErrorView(): Unit |
|
fun isInputValid(): Boolean
Verifies if the input is a valid. To be valid the input should not be empty, should only contain digits after the first character, and should not be equal to the default prefix provided by the client. |
|
fun reset(): Unit |
|
fun setError(message: Int): Unit fun setError(message: String): Unit |
|
fun setImeAction(imeOption: Int, editorActionListener: OnEditorActionListener): Unit |
|
fun setPhoneNumber(phoneNumber: String): Unit |
|
fun setTextWatcher(textWatcher: TextWatcher): Unit |
|
fun showErrorView(): Unit |