java.lang.Object | |||
↳ | Fragment | ||
↳ | com.mapsted.ui.base.BaseFragment<VM extends com.mapsted.ui.base.BaseViewModel> | ||
↳ | com.mapsted.ui.map.MapFragment |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | MapFragment.Args |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final String | TAG |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MapFragment() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | addActiveAlertChangeListener(MapUiApi.AlertChangeListener listener) | ||||||||||
void | addCustomMapWidget(CustomMapWidget customMapWidget) | ||||||||||
void | addView(View view) | ||||||||||
void |
bottomSheetClick()
Method to handle click on bottom sheet slide indicator.
| ||||||||||
void | chooseMercatorZone(Consumer<MercatorZone> resultCallback) | ||||||||||
void | collapseEntityDetailView() | ||||||||||
void |
createAlertListPartialFragment(List<String> alertIds, Consumer<Fragment> fragmentConsumer)
Create partial fragment alert list for given alertIds
| ||||||||||
void | createCustomTag(TagInfo tagInfo, MercatorZone mercatorZone, Consumer<Tag> resultCallback) | ||||||||||
void | createViewModel() | ||||||||||
void | deleteCustomTag(int tagId, Consumer<Tag> resultCallback) | ||||||||||
void | deleteCustomTags(ArrayList<Integer> tagIds, Consumer<Boolean> resultCallback) | ||||||||||
boolean | displayAlertListDialog(List<String> alertIds, FragmentManager fragmentManager, Consumer<EntityZone> entityZoneSelection) | ||||||||||
void | expandEntityDetailView() | ||||||||||
void |
getActiveAlerts(int propertyId, Consumer<List<String>> alertsConsumer)
Get the list of active alerts by propertyId
| ||||||||||
Fragment | getEntityAlertListFragment(Entity entity) | ||||||||||
Event | getFeedByPropertyCampaignId(int propertyId, String campaignId, Consumer<Event> eventCallback) | ||||||||||
Fragment | getFeedFragment() | ||||||||||
void | getFeedsByPropertyId(int propertyId, Consumer<List<Event>> eventCallback) | ||||||||||
boolean | hasAlerts(Entity entity) | ||||||||||
void | hideCustomMapWidget(String viewGroupName) | ||||||||||
void |
navigateClosestLocationClicked(MultiLocationsSearchableDialogFragment exploreLocationOptionDialog, String name, EntityZone entityZone)
Navigate map to the unique Search Entity id location
| ||||||||||
static MapFragment | newInstance() | ||||||||||
void | onAlertSelected(String alertId) | ||||||||||
void | onAttach(Context context) | ||||||||||
boolean | onBackPressed() | ||||||||||
void | onCreate(Bundle savedInstanceState) | ||||||||||
View | onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) | ||||||||||
void | onCrossPropertySearchEntityGroupSelected(EntityGroup item) | ||||||||||
void | onDestroy() | ||||||||||
void | onDestroyView() | ||||||||||
void | onDetach() | ||||||||||
void | onFeedItemSelected(String feedId) | ||||||||||
void | onLocationSelected(EntityZone nearbyEntityZone) | ||||||||||
void | onNavigationModeCreated() | ||||||||||
void | onNavigationModeDestroyed() | ||||||||||
void | onPause() | ||||||||||
void | onResume() | ||||||||||
void | onRoutePreviewCreated() | ||||||||||
void | onRoutePreviewDestroyed() | ||||||||||
void | onSelectLocationManually() | ||||||||||
void |
onShowChooseMercatorThenLaunchFragment(Class<? extends Fragment> fragmentToReturnTo)
Show ChooseMercatorFragment, after mercator is chosen, launch the given fragment
| ||||||||||
void |
onViewClicked(EntityZone entityZone, SearchEntity searchEntity)
Navigate map to the unique entity id location
| ||||||||||
void | onViewCreated(View view, Bundle savedInstanceState) | ||||||||||
void | performActionOnFeed(int propertyId, String campaignId, Consumer<Entity> navigateCallback) | ||||||||||
void | processArguments(Bundle bundle) | ||||||||||
void | processRoutePreview(RoutingResponse routingResponse) | ||||||||||
boolean | removeActiveAlertChangeListener(MapUiApi.AlertChangeListener listener) | ||||||||||
void | removeCustomMapWidget(String viewGroupName) | ||||||||||
void | requestAllCustomsTags(Consumer<List<Tag>> resultCallback) | ||||||||||
void | selectEntity(EntityZone entityZone) | ||||||||||
void | selectEntity(int propertyId, int buildingId, int floorId, int entityId) | ||||||||||
void | setAlertProvider(MapUiApi.AlertProvider alertProvider) | ||||||||||
void | setBottomSheetDraggable(boolean draggable) | ||||||||||
void | setCollapsedEntityDetailViewHeight(int dp) | ||||||||||
void | setCustomTag(Tag tag) | ||||||||||
void | setFeedProvider(MapUiApi.FeedProvider feedProvider) | ||||||||||
void | setFeedView(Context context, Entity entity, Consumer<Entity> marketingEntityCb, Consumer<Adapter> marketingViewCb) | ||||||||||
void | setLocationShareProvider(MapUiApi.LocationShareProvider locationShareProvider) | ||||||||||
void | setSearchListener(SearchListener listener) | ||||||||||
void | showAlertDialogForEntity(Entity entity, FragmentManager fragmentManager, Consumer<EntityZone> entityZoneSelection) | ||||||||||
void | showAllCustomTagsOnMap(boolean show) | ||||||||||
void | showCenterMercatorPin(boolean show) | ||||||||||
void | showCustomMapWidget(String viewGroupName) | ||||||||||
void | showErrorDialogDueToBlockingAlerts(List<String> alertIds) | ||||||||||
void | showMiscellaneousErrorDialog(String errorMessage) | ||||||||||
void |
showNavigatingViews()
Overridden method for populating instructions and
showing route for the selected/searched entities
| ||||||||||
void | showOverlaySearchFragment(boolean showMyLocation, int destinationIndexBeingChosen) | ||||||||||
void | updateCustomTag(TagInfo tagInfo, Consumer<Tag> resultCallback) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Method to handle click on bottom sheet slide indicator. It slides up the bottom sheet.
Create partial fragment alert list for given alertIds
alertIds | the alerts to populate |
---|---|
fragmentConsumer | the created fragment (nullable) |
Get the list of active alerts by propertyId
propertyId | the property of interest |
---|
Navigate map to the unique Search Entity id location
Show ChooseMercatorFragment, after mercator is chosen, launch the given fragment
fragmentToReturnTo | this fragment will be launched after onUserPositionSet(MercatorZone)
|
---|
Navigate map to the unique entity id location
Overridden method for populating instructions and showing route for the selected/searched entities