Minor improvements for list printing
This commit is contained in:
parent
1b9cc4ac98
commit
41f2cda8a2
1 changed files with 2 additions and 6 deletions
|
@ -10,6 +10,7 @@ import android.support.v7.widget.PopupMenu;
|
||||||
import android.support.v7.widget.SwitchCompat;
|
import android.support.v7.widget.SwitchCompat;
|
||||||
import android.support.v7.widget.Toolbar;
|
import android.support.v7.widget.Toolbar;
|
||||||
import android.text.Editable;
|
import android.text.Editable;
|
||||||
|
import android.text.TextUtils;
|
||||||
import android.text.TextWatcher;
|
import android.text.TextWatcher;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.MenuItem;
|
import android.view.MenuItem;
|
||||||
|
@ -463,12 +464,7 @@ public class QuickSearchPoiFilterFragment extends DialogFragment {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
StringBuilder sb = new StringBuilder();
|
filterByName = TextUtils.join(" ", filters);
|
||||||
for (String s : filters) {
|
|
||||||
sb.append(s);
|
|
||||||
sb.append(" ");
|
|
||||||
}
|
|
||||||
filterByName = sb.toString();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (filterByName.trim().length() > 0 && Algorithms.isEmpty(nameFilterText)) {
|
if (filterByName.trim().length() > 0 && Algorithms.isEmpty(nameFilterText)) {
|
||||||
|
|
Loading…
Reference in a new issue