Package com.mapfactor.sdk.favorites
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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
An action was performed with a clicked favoritestatic interface
Favorites fragment item action was performed listener -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add an action was performed on a favorite listener.void
Remove favorite item action was performed listener
-
Constructor Details
-
FavoritesFragment
public FavoritesFragment()
-
-
Method Details
-
addFavoriteActionListener
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
-