SearchResultAdapterItem

abstract class SearchResultAdapterItem

com.mapbox.search.ui.view.SearchResultsView adapter items.

See also

Types

EmptyHistory
Link copied to clipboard
object EmptyHistory : SearchResultAdapterItem
Item that represents header for the empty search history.
EmptySearchResults
Link copied to clipboard
object EmptySearchResults : SearchResultAdapterItem
Item that represents view for a case where search engine returns nothing.
Error
Link copied to clipboard
class Error(uiError: UiError) : SearchResultAdapterItem
Item that represents error view and Retry button.
History
Link copied to clipboard
class History(record: HistoryRecord, isFavorite: Boolean) : SearchResultAdapterItem
Item that represents one search history entry.
Loading
Link copied to clipboard
object Loading : SearchResultAdapterItem
Item that represents spinning progress view.
MissingResultFeedback
Link copied to clipboard
class MissingResultFeedback(responseInfo: ResponseInfo) : SearchResultAdapterItem
Item that represents Missing result? button.
RecentSearchesHeader
Link copied to clipboard
object RecentSearchesHeader : SearchResultAdapterItem
Item that represents Recent searches header for the search history.
Result
Link copied to clipboard
class Result @JvmOverloads() constructor(title: CharSequence, subtitle: CharSequence?, distanceMeters: Double?, @DrawableRes() drawable: Int, @ColorInt() drawableColor: Int?, isPopulateQueryVisible: Boolean, payload: Any?) : SearchResultAdapterItem
Item that represents any search result.

Inheritors

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