[android-developers] Listview Text Filer Make Fast

2010-02-03 Thread Sasikumar.S
Hi,

I'm having a string array with 2500 items.
When add these items to my listview, my listview text filter is very slow to
access.
If i'm giving 'wa' to filter it will show the items starts from 'wa' . It is
takimg more than 1 minute for me.
wat's the problem?

Is there any sample program in android SDK installation folder?..

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

Re: [android-developers] Listview Text Filer Make Fast

2010-02-03 Thread haric zhu
If you use cursor adapter to filter text, it will be very fast.

2010/2/4 Sasikumar.S sasikumar.it1...@gmail.com

 Hi,

 I'm having a string array with 2500 items.
 When add these items to my listview, my listview text filter is very slow
 to access.
 If i'm giving 'wa' to filter it will show the items starts from 'wa' . It
 is takimg more than 1 minute for me.
 wat's the problem?

 Is there any sample program in android SDK installation folder?..

 --
 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 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Best Regards

Haric

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

Re: [android-developers] Listview Text Filer Make Fast

2010-02-03 Thread Sasikumar.S
Thank You Haric. Any example program is there?..

On Thu, Feb 4, 2010 at 10:01 AM, haric zhu haric@gmail.com wrote:

 If you use cursor adapter to filter text, it will be very fast.

 2010/2/4 Sasikumar.S sasikumar.it1...@gmail.com

 Hi,

 I'm having a string array with 2500 items.
 When add these items to my listview, my listview text filter is very slow
 to access.
 If i'm giving 'wa' to filter it will show the items starts from 'wa' . It
 is takimg more than 1 minute for me.
 wat's the problem?

 Is there any sample program in android SDK installation folder?..

 --
 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 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 Best Regards

 Haric

  --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 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 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