Result
Item that represents any search result. This can be a result from any search engine, or use case, for example, com.mapbox.search.result.SearchSuggestion, com.mapbox.search.result.SearchResult, com.mapbox.search.offline.OfflineSearchResult, etc.
Parameters
The title view text. Usually, this is a name of the search result.
The subtitle view text. Usually, this is an address of the search result, or POI category.
The distance in meters from user's location to the search result.
The drawable id that represents the search result. For example, this can be address icon, or category. See Maki icons.
The color that can be used for drawable tint. If empty, the default color will be chosen automatically.
The flag that denotes whether the Populate
view will be shown. Usually, when a user clicks on that view, search result's name should be used to populate search query and initiate a search request with query's text. False by default.
Anything that can be used to associate this item with the search result.