spyglass-sample/src/main/java/com/linkedin/android/spyglass/sample/samples/GridMentions.java
@Override
    public List<String> onQueryReceived(final @NonNull QueryToken queryToken) {
        List<String> buckets = Arrays.asList(BUCKET);
        List<Person> suggestions = people.getSuggestions(queryToken);
        SuggestionsResult result = new SuggestionsResult(queryToken, suggestions);
        // Have suggestions, now call the listener (which is this activity)
        onReceiveSuggestionsResult(result, BUCKET);
        return buckets;
    }
@Override
    public List<String> onQueryReceived(final @NonNull QueryToken queryToken) {
        List<String> buckets = Arrays.asList(BUCKET);
        List<Person> suggestions = people.getSuggestions(queryToken);
        SuggestionsResult result = new SuggestionsResult(queryToken, suggestions);
        // Have suggestions, now call the listener (which is this activity)
        onReceiveSuggestionsResult(result, BUCKET);
        return buckets;
    }
@ Override public List < String > onQueryReceived ( final @ NonNull QueryToken queryToken ) { List < String > buckets = Arrays . asList ( BUCKET ) ; List < Person > suggestions = people . getSuggestions ( queryToken ) ; SuggestionsResult result = new SuggestionsResult ( queryToken , suggestions ) ; // Have suggestions, now call the listener (which is this activity) onReceiveSuggestionsResult ( result , BUCKET ) ; return buckets ; }
--------------------------------------------------
--------------------------------------------------