我希望过滤器firebase
数据到此列表视图该怎么做
seachView.setOnQueryTextListener(new SearchView.OnQueryTextListener() {
@Override
public boolean onQueryTextSubmit(String mQuery) {
return false;
}
@Override
public boolean onQueryTextChange(String newText) {
mQuery = mDatabaseRef.orderByChild("Username").equalTo(newText);
return false;
}
});