class PhoneNumberCollectionTextWatcher : TextWatcher
Listens for a text change. If found, triggers a callback to alert the owner. This let's the PhoneNumberCollectionFragment know the user has edited the phone number and the submit button should be shown to let the user resubmit.
onTextChanged
- Callback triggered when text is changed.
<init> |
Listens for a text change. If found, triggers a callback to alert the owner. This let's the PhoneNumberCollectionFragment know the user has edited the phone number and the submit button should be shown to let the user resubmit. PhoneNumberCollectionTextWatcher(onTextChanged: (charSequence: CharSequence) -> Unit) |
onTextChanged |
Callback triggered when text is changed. val onTextChanged: (charSequence: CharSequence) -> Unit |
afterTextChanged |
fun afterTextChanged(s: Editable?): Unit |
beforeTextChanged |
fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int): Unit |
onTextChanged |
fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int): Unit |