Hi All, I have also tried to override getFilter() function and returning super.getFilter() but nothing is working.
On Jul 10, 9:04 pm, Manish Garg <mannishga...@gmail.com> wrote: > Hi All, > > In my code, I was using following code for textwatcher > > private TextWatcher filterTextWatcher = new TextWatcher() { > @Override > public void beforeTextChanged(CharSequence s, int start, int > count,int after) { > } > @Override > public void onTextChanged(CharSequence s, int start, int > before,int > count){ > if(adapter!=null) > { > adapter.getFilter().filter(s); > } > } > @Override > public void afterTextChanged(Editable s) { > > } > }; > It was working fine till the time I was using simpleAdapter but now I > have to customize my adapter and have write one inherited class of > simpleAdapter. TextWatcher has stopped working. > > If someone know the reason and solution then please let me know. > > Thanks & Regards, > Manish Garg -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en