Tag Archives: afterTextChanged

Listening to EditText input in Android using TextWatcher.

By | February 16, 2012

Hello all……. In todays post I will show you how to listen to an EditText input in Android. Often we need this in our applications. We implement this with the help of TextWatcher class. Here is the java code for this. Here I am checking whether the input value in the edittext is between 20… Read More »

Flitering a ListView using an input from an EditText in Android.

By | December 14, 2011

Hello everyone In today’s tutorial I will show you how to filter a ListView based on an input from the EditText. This is really simple we just need to call getFilter().filter(search_string) on the adapter to filter the values from the ListViews. Just take a look at this example. Here is the layout file main.xml Here… Read More »