This commit is contained in:
Alexey Kulish 2016-10-26 16:10:39 +03:00
parent 5f5efe19db
commit 2a6eb57875

View file

@ -151,6 +151,9 @@ public class QuickSearchListAdapter extends ArrayAdapter<QuickSearchListItem> {
}
public void addListItem(QuickSearchListItem item) {
if (searchMoreItemPosition != -1 && item instanceof QuickSearchMoreListItem) {
return;
}
setNotifyOnChange(false);
add(item);
acquireAdditionalItemsPositions();