Package com.mapfactor.sdk.search
Class SearchAddressFragment
java.lang.Object
SdkFragment
com.mapfactor.sdk.search.SearchAddressFragment
public class SearchAddressFragment
extends SdkFragment
Search address fragment. Use directly or via SearchAddressView.
- Since:
- 2.4
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Search 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
-
SearchAddressFragment
public SearchAddressFragment()
-
-
Method Details
-
addSearchResultClickListener
public void addSearchResultClickListener(@NonNull SearchAddressFragment.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 (e.g. show on map).- Parameters:
listener
- listener called when a search result item was clicked- Since:
- 2.4
-
removeSearchResultClickListener
public void removeSearchResultClickListener(@NonNull SearchAddressFragment.SearchResultClickListener listener) Remove fragment search result item clicked listener.- Parameters:
listener
- listener to remove- Since:
- 2.4
-