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
  • 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 (like 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. 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.4