java.lang.Object |
↳ |
com.mapsted.ui.search.RecentSearchResultsRepository |
Class Overview
This preference file `recent_search_results.xml` will contain only the RecentSearchItems.
Data is stored for each propertyId as key. This data is in a map format (ItemKey->SearchResultItem).
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
RecentSearchResultsRepository
(Context context)
Public Methods
public
List<SearchResultItem>
getRecentSearchItems
(int propertyId)
Parameters
propertyId |
pass in -1 for any properties (outside home search) |
public
void
putRecentSearchItem
(int propertyId, SearchResultItem searchResultItem)