Increase suggestion count
This commit is contained in:
1 parent
0553fda3fa
commit
70ceb83205
2 files changed
+4
-4
No files matched your search
@@ -166,7 +166,7 @@ public class SearchBar extends CardView implements View.OnClickListener,
|
||||
|
||||
private void updateSuggestions() {
|
||||
String prefix = mEditText.getText().toString();
|
||||
String[] suggestions = mSearchDatabase.getSuggestions(prefix);
|
||||
String[] suggestions = mSearchDatabase.getSuggestions(prefix, 128);
|
||||
mSuggestionList.clear();
|
||||
Collections.addAll(mSuggestionList, suggestions);
|
||||
if (mSuggestionList.size() == 0) {
|
||||
|
||||
Reference in new issue
Block a user