Top "Textwatcher" questions

TextWatcher is an interface in the Android SDK that can be attached to an Editable object to see when that Editable's text changes.

android EditText ,keyboard textWatcher problem

I am working on a android app and I have an EditText where user can input numbers. I want to …

android android-edittext formatter textwatcher
IndexOutOfBoundsException setSpan (0 ... 1) ends beyond length 0

I am using this library for material editText with label: https://github.com/rey5137/Material/wiki/Text-Field nice library :) but... …

android android-edittext indexoutofboundsexception textwatcher
How to limit the text in numbers only from 0-59 in Edit Text in Android?

I have an Edit Text in which the number can only between 0-59, No other numbers will be typed in …

android android-edittext textwatcher
TextWatcher events are being fired multiple times

I have an annoying problem with TextWatcher. i've been searching the web but couldnt find anything. appreciate if someone could …

android android-layout textwatcher
How to delete instantly SPACE from an edittext if a user presses the space?

I have an edittext, and a textwatcher that watches if SPACE arrived or not. If its a SPACE I would …

android android-edittext textwatcher
Android intercept paste\copy\cut on editText

How can I intercept this kind of events ? I need to add some logic when the user trying to paste …

android textview android-edittext textwatcher
How to update the same EditText using TextWatcher?

In my Android application I need to implement a TextWatcher interface to implement onTextChanged. The problem I have is, I …

java android android-edittext textwatcher android-textwatcher
Automatically add dash in phone number in Android

Instead of 5118710, it should be 511-8710. I'd like to add a dash after the user the user inputted 3 digits already …

android textwatcher
How to filter the input of EditText?

I want to filter the input of an EditText, only digits and letters are allowed, first I use TextWatcher to …

android android-edittext textwatcher android-input-filter
Android - Do something *after* text is changed in EditText

I build an android application. I have an EditText. I want to save changes (or anything else) automatically after the …

android android-edittext textwatcher