Its happen all the time for me.

My system configuration is 120GB hard disk & 1GB RAM.

Wat's Ur system configuration?.

My code for listview is

public class ListviewFilterExample extends Activity
{
 private ListView lv1;
 private String
lv_arr[]={"Android","iPhone","BlackBerry","AndroidPeople","J2ME",
"Listview","ArrayAdapter","ListItem","Us","UK","India"};
@Override
 public void onCreate(Bundle icicle)
 {
 super.onCreate(icicle);
 setContentView(R.layout.main);
 lv1=(ListView)findViewById(R.id.ListView01);
 lv1.setAdapter(new
ArrayAdapter<String>(this,android.R.layout.simple_list_item_1 , lv_arr));
 lv1.setTextFilterEnabled(true);
}
}

In this i added lest than 20 items in list.
But i'm having more than 2500 items.

Wat's the wrong with me?.


On Thu, Jan 28, 2010 at 7:30 PM, Brion Emde <[email protected]> wrote:

> It sounds like your problem to me.
>
> I am doing similar filtering via a web service (10K records on remote
> database) and have some latency associated with the network, but I'm
> talking a second or two, at the most, not minutes.
>
> I think you should take a look at how you are doing things to make
> sure there isn't something silly going on. It happens all the time.
>
>
> On Jan 28, 4:44 am, "Sasikumar.S" <[email protected]> wrote:
> > Hi,
> >
> > In my listview i'm adding more than 2500 items in list.
> > when i'm using text filter. It is taking more time to load the text
> starting
> > with the character i have given.
> >
> > ex:-
> >
> > If i'm giving 'sa' it is taking more than 2 minutes to show the items
> > starting with 'sa'.
> > Is this problem for me only or the problem is for all?..
> >
> > wat's the reason?..
> >
> > --
> > Thanks & Regards
> > Sasikumar.S
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Thanks & Regards
Sasikumar.S

-- 
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

Reply via email to