public final class TelefoneTextWatcher extends BaseCanarinhoTextWatcher
TextWatcher responsável por formatar e validar um
EditText para telefones.
Para usar este componente basta criar uma instância e chamar
TextView.addTextChangedListener(android.text.TextWatcher).| Constructor and Description |
|---|
TelefoneTextWatcher(EventoDeValidacao callbackErros)
TODO Javadoc pendente
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterTextChanged(android.text.Editable s) |
atualizaTexto, beforeTextChanged, efetuaValidacao, getEventoDeValidacao, isApagouCaracter, isMudancaInterna, onTextChanged, setEventoDeValidacao, trataAdicaoRemocaoDeCaracterpublic TelefoneTextWatcher(EventoDeValidacao callbackErros)
callbackErros - a descrever