SearchHistoryRepositoryImpl

class SearchHistoryRepositoryImpl(searchServicesProvider: SearchServicesProvider, pinnedSearchHistoryRepository: PinnedSearchHistoryRepository?, dispatcher: CoroutineDispatcher, crashlytics: Crashlytics) : SearchHistoryRepository

Constructors

Link copied to clipboard
constructor(searchServicesProvider: SearchServicesProvider, pinnedSearchHistoryRepository: PinnedSearchHistoryRepository?, dispatcher: CoroutineDispatcher, crashlytics: Crashlytics)

Functions

Link copied to clipboard
open suspend override fun addHistoryItem(item: DestinationSearchResult)
Link copied to clipboard
open suspend override fun cleanHistory()
Link copied to clipboard
open override fun observeHistory(): StateFlow<List<DestinationSearchResult>>
Link copied to clipboard
open suspend override fun removeItemWithId(id: String, mapboxId: String?)