History

class History(record: HistoryRecord, isFavorite: Boolean) : SearchResultAdapterItem

Item that represents one search history entry.

Parameters

record

The HistoryRecord for the item.

isFavorite

The flag that denotes whether the record is also part of the com.mapbox.search.record.FavoritesDataProvider.

Constructors

History
Link copied to clipboard
fun History(record: HistoryRecord, isFavorite: Boolean)
The HistoryRecord for the item.

Properties

isFavorite
Link copied to clipboard
val isFavorite: Boolean
The flag that denotes whether the record is also part of the com.mapbox.search.record.FavoritesDataProvider.
record
Link copied to clipboard
val record: HistoryRecord
The HistoryRecord for the item.