Class DataRepository
java.lang.Object
com.trimblemaps.mapsdk.plugins.places.autocomplete.DataRepository
Used internally for the autocomplete view
Singleton class used for exchanging information between the data classes and the views.
- Since:
- 0.1.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddSearchHistoryEntity(SearchHistoryEntity searchHistory) static DataRepositorygetInstance(SearchHistoryDatabase database) androidx.lifecycle.LiveData<List<SearchHistoryEntity>>
-
Method Details
-
getInstance
-
getSearchHistory
-
addSearchHistoryEntity
-