SearchResultAdapterItem

See also

Types

Link copied to clipboard

Item that represents header for the empty search history.

Link copied to clipboard

Item that represents view for a case where search engine returns nothing.

Link copied to clipboard
class Error(val uiError: UiError) : SearchResultAdapterItem

Item that represents error view and Retry button.

Link copied to clipboard
class History(val record: HistoryRecord, val isFavorite: Boolean) : SearchResultAdapterItem

Item that represents one search history entry.

Link copied to clipboard

Item that represents spinning progress view.

Link copied to clipboard
class MissingResultFeedback(val responseInfo: ResponseInfo) : SearchResultAdapterItem

Item that represents Missing result? button.

Link copied to clipboard

Item that represents Recent searches header for the search history.

Link copied to clipboard
class Result @JvmOverloads constructor(val title: CharSequence, val subtitle: CharSequence?, val distanceMeters: Double?, @DrawableRes val drawable: Int, @ColorInt val drawableColor: Int? = null, val isPopulateQueryVisible: Boolean = false, val payload: Any? = null) : SearchResultAdapterItem

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.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard