SearchRepository

Constructors

Link copied to clipboard
constructor(context: Context, mapApi: MapApi)

Properties

Link copied to clipboard
Link copied to clipboard
val TIME_ESTIMATE: Int = 10

Functions

Link copied to clipboard
Link copied to clipboard
open fun filterSearchResults(query: String)
Method used to filterSearchResults using the query
Link copied to clipboard
This method returns the full list of SearchResults.
Link copied to clipboard
open fun getEstimateString(estimationType: Int, @NonNull searchResult: SearchResult): String
Link copied to clipboard
open fun getEstimation(estimationType: Int, searchResult: SearchResult)
Link copied to clipboard
Link copied to clipboard
This method will return updated SearchResult LiveData list depending on the filters applied or sort applied
Link copied to clipboard
open fun initializeSearchResults(selectedPropertyId: Int)
Method used to fetch all the search results