[android-developers] Problem in getting result from filtered list
Hi.
In my application I used a custom list for displayed some country
name.
and for enable search from the list, Filter applied on the custom
list.
Filter works on a simply String ArrayList. And its work fine.
But My problem is When I searched for any country name the search
happend only on String's Starting letter not on the Any letter in the
string.
For example..
my country List is
List<String> Country_List=new ArrayList<String>();
Country_List.add("Australia");
Country_List.add("USA");
Country_List.add("England");
Country_List.add("China");
If my search text for country name is 'U'
then
It gives result 'USA' not ' Australia'.
But I want both reasult 'USA' and 'Australia' (Country name which
contains u letter in any position of its name)
Please Help me.
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home