I have a list of arrays to which I bind data. This is an example.
MyStrings =new ArrayList<String>(); MyStrings.add("Dog"); MyStrings.add("Cat"); MyStrings.add("Can"); MyStrings.add("Ant"); MyStrings.add("Str");
Now I have a string String sweet="c"; Now, what OI wants is to filter this Arraylist based on my string (sweet) so MyStrings elements will only be Cat and Can
EDIT I'm really sorry for the troubles I got from you, but my main problem is that sweet is editable Ive tried to use this code
public void onTextChanged(CharSequence s, int start, int before,int count) {
using this ad
LazyAdapterGetFriends adapter2; ArrayList<String> MyStrings;
Sorry for my wrong question .. Stupid I
source share