android-components /



Name Summary
SearchSuggestionClient class SearchSuggestionClient
Provides an interface to get search suggestions from a given SearchEngine.

Type Aliases

Name Summary
JSONResponse typealias JSONResponse = String
The Parser is a function that takes a JSON Response and maps it to a Suggestion list.
ResponseParser typealias ResponseParser = (JSONResponse) -> List<String>
SearchSuggestionFetcher typealias SearchSuggestionFetcher = suspend (url: String) -> String?
Async function responsible for taking a URL and returning the results