我似乎找不到我的适配器有什么问题,我不能在OnQueryTextChange上使用.getFilter()方法。我调用了名为mAdapter的适配器,但没有用于.getFilter()的方法。public int getItemCount() { }
public Filter getFilter@Override
public boolean onQueryTextCha
C#,.net 3.5这样做的前提是创建管理过滤的类。所以我有: //NEED Help Declaring the Generic method for GetFilter{
public IQueryable<Linq.Project> GetFilter(IQueryable<Linq.Project> query) {
但是一些我无法在片段网中实现它的方法public View onCreateView(LayoutInflater inflater, ViewGroup containerpublic void onTextChanged(CharSequence s, int start, int before, int count) {
adapter.getFilter().filter(s);// Error on this line: create method