Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to handle both Quick Search Box results and recent suggestions for search?

Tags:

java

android

I'm trying to implement both recent suggestions and custom suggesions in global search in the same application. They both use the same path in the provider so it doesn't seem like it is possible to return different results for them. For example just recent searches for suggestions and real search results in the Quick Search Box.

Any idea on how to do this?

like image 359
alexanderblom Avatar asked Jul 06 '10 08:07

alexanderblom


1 Answers

Looking at the searchable config document, it looks like you should be able to use different values of android:searchSuggestPath to disambiguate between the two.

like image 148
Karl Bielefeldt Avatar answered Sep 28 '22 07:09

Karl Bielefeldt