|
|
@ -21,9 +21,10 @@ public class LatestSearchManager implements AlphaFineSearchProcessor { |
|
|
|
public synchronized SearchResult showLessSearchResult(String searchText) { |
|
|
|
public synchronized SearchResult showLessSearchResult(String searchText) { |
|
|
|
this.modelList = new SearchResult(); |
|
|
|
this.modelList = new SearchResult(); |
|
|
|
modelList.add(new MoreModel("本地常用", false)); |
|
|
|
modelList.add(new MoreModel("本地常用", false)); |
|
|
|
if (getLatestModelList() != null && getLatestModelList().size() > 0) { |
|
|
|
//todo: 常用逻辑需要重新设计
|
|
|
|
modelList.addAll(getLatestModelList()); |
|
|
|
// if (getLatestModelList() != null && getLatestModelList().size() > 0) {
|
|
|
|
} |
|
|
|
// modelList.addAll(getLatestModelList());
|
|
|
|
|
|
|
|
// }
|
|
|
|
return modelList; |
|
|
|
return modelList; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|