SearchFavoritesRepositoryImpl

class SearchFavoritesRepositoryImpl(searchServicesProvider: SearchServicesProvider, dispatcher: CoroutineDispatcher, storage: Storage) : SearchFavoritesRepository

Constructors

Link copied to clipboard
constructor(searchServicesProvider: SearchServicesProvider, dispatcher: CoroutineDispatcher, storage: Storage)

Functions

Link copied to clipboard
open suspend override fun addItem(searchResult: DestinationSearchResult)
Link copied to clipboard
open suspend override fun addSpecialPlace(searchResult: DestinationSearchResult, type: SpecialPlaceType)
Link copied to clipboard
open override fun getFavorites(): List<FavoritePlace>
Link copied to clipboard
open override fun observeFavorites(): Flow<List<FavoritePlace>>
Link copied to clipboard
open suspend override fun removeItemWithId(id: String, mapboxId: String?)