Class FavoritesFragment

java.lang.Object
SdkFragment
com.mapfactor.sdk.favorites.FavoritesFragment

public class FavoritesFragment extends SdkFragment
Favorites fragment. Use directly or via FavoritesView.
Since:
3.11
  • Constructor Details

    • FavoritesFragment

      public FavoritesFragment()
  • Method Details

    • addFavoriteActionListener

      public void addFavoriteActionListener(@NonNull FavoritesFragment.FavoriteActionListener listener)
      Add an action was performed on a favorite listener. Expected action may be to show map fragment.
      Parameters:
      listener - listener called when an action was performed with favorite
      Since:
      3.11
    • removeFavoriteActionListener

      public void removeFavoriteActionListener(@NonNull FavoritesFragment.FavoriteActionListener listener)
      Remove favorite item action was performed listener
      Parameters:
      listener - listener to remove
      Since:
      3.11