Package com.mapfactor.sdk.search
Class SearchPoiFragment
java.lang.Object
SdkFragment
com.mapfactor.sdk.search.SearchPoiFragment
public class SearchPoiFragment
extends SdkFragment
Search POI fragment. Use directly or via SearchPoiView.
- Since:
- 2.6
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Search POI fragment result item clicked listener -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add fragment search result item clicked listener.void
Remove fragment search result item clicked listener.
-
Constructor Details
-
SearchPoiFragment
public SearchPoiFragment()
-
-
Method Details
-
addSearchResultClickListener
public void addSearchResultClickListener(@NonNull SearchPoiFragment.SearchResultClickListener listener) Add fragment search result item clicked listener. Expected action is to show a popup menu with actions what to do with the search result (like show on map).- Parameters:
listener
- listener called when a search result item was clicked- Since:
- 2.6
-
removeSearchResultClickListener
public void removeSearchResultClickListener(@NonNull SearchPoiFragment.SearchResultClickListener listener) Remove fragment search result item clicked listener. Expected action is to show a popup menu with actions what to do with the search result (like show on map).- Parameters:
listener
- listener to remove- Since:
- 2.6
-