Android Custom ListView Adapter Filtering
I have problem with filterin my custom adapter in my ListView Here is my code of Adapter public class PeopleAdapter extends ArrayAdapter implements Filterable { int r
Solution 1:
Try this solution:
public void onTextChanged(CharSequence s, int start, int before, int count)
{
PeopleAdapt.getFilter().filter(s); //Filter from my adapter
PeopleAdapt.notifyDataSetChanged(); //Update my view
}
Post a Comment for "Android Custom ListView Adapter Filtering"