Hi All,
private class AddedSenderAdapter extends SimpleAdapter{
public AddedSenderAdapter(Context ctx, List<HashMap<String,
String>>
data, int resource,
String[] from, int[] to)
{
super(ctx, data, resource, from, to);
...
...
}
...
}
For the reference I am attachhing my adapter code. Is there any
problem with the inherited adapter? Or do I need to override some
function.
On Jul 11, 10:05 am, Manish Garg <[email protected]> wrote:
> 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 <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en