Class PoisOnRouteFragment
java.lang.Object
androidx.fragment.app.Fragment
com.trimblemaps.mapsdk.plugins.places.searchflow.ui.SearchFlowFragment
com.trimblemaps.navigation.plugins.poisonroute.ui.PoisOnRouteFragment
- All Implemented Interfaces:
android.content.ComponentCallbacks,android.view.View.OnCreateContextMenuListener,androidx.activity.result.ActivityResultCaller,androidx.lifecycle.HasDefaultViewModelProviderFactory,androidx.lifecycle.LifecycleOwner,androidx.lifecycle.ViewModelStoreOwner,androidx.savedstate.SavedStateRegistryOwner,com.trimblemaps.mapsdk.plugins.places.autocomplete.ui.PlaceAutocompleteFragment.PoiCategorySelectedListener,com.trimblemaps.mapsdk.plugins.places.autocomplete.ui.PoisResponseListener,com.trimblemaps.mapsdk.plugins.places.searchflow.ui.DwellTimeListener,com.trimblemaps.mapsdk.plugins.places.searchflow.ui.FacilityDetailsListener,com.trimblemaps.mapsdk.plugins.places.searchflow.ui.FacilityDetailsPhoneCallListener
public class PoisOnRouteFragment extends com.trimblemaps.mapsdk.plugins.places.searchflow.ui.SearchFlowFragment
-
Nested Class Summary
Nested classes/interfaces inherited from class com.trimblemaps.mapsdk.plugins.places.searchflow.ui.SearchFlowFragment
com.trimblemaps.mapsdk.plugins.places.searchflow.ui.SearchFlowFragment.OnLoadedListener, com.trimblemaps.mapsdk.plugins.places.searchflow.ui.SearchFlowFragment.StopDetailsDataNested classes/interfaces inherited from class androidx.fragment.app.Fragment
androidx.fragment.app.Fragment.InstantiationException, androidx.fragment.app.Fragment.SavedState -
Field Summary
FieldsFields inherited from class com.trimblemaps.mapsdk.plugins.places.searchflow.ui.SearchFlowFragment
addStopOnClickListener, bottomSheet, bottomSheetShowing, CALLOUT_LAYER_ID, CLUSTER_ICON_ID, CLUSTER_ICON_NUMBER_ID, CLUSTER_LAYER_CIRCLE_ID, CLUSTER_LAYER_ID, featureCollection, featureCollectionDrawable, fragment, imagesMap, internalPlaceDetailsListener, internalPlaceSelectionListener, mapView, onMapClickListener, onMapMoveListener, onMapReadyCallback, onStyleLoadedListener, placeDetailsListener, placeSelectionListener, POIS_SOURCE_ID, poisSource, recenterClickListener, rootView, selectedLocation, selectedLocationPoints, shouldShowBottomSheet, trimbleMap, trimblePlacesPluginFields inherited from class androidx.fragment.app.Fragment
mPreviousWho -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCustomDataToBubble(com.trimblemaps.geojson.Feature feature, com.trimblemaps.mapsdk.annotations.BubbleLayout bubbleLayout) Add additional data (time off route) to the individual POI bubble viewprotected voidbindFragment(android.os.Bundle savedInstanceState) booleanstatic PoisOnRouteFragmentstatic PoisOnRouteFragmentnewInstance(PoisOnRouteOptions options) android.view.ViewonCreateView(android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState) protected voidonStyleLoaded(com.trimblemaps.mapsdk.maps.Style style) voidsetPoisOnRouteCallback(PoisOnRouteCallback poisOnRouteRequestCallback) voidsetPoisOnRouteOptions(PoisOnRouteOptions poisOnRouteOptions) voidsetUpData(com.trimblemaps.geojson.FeatureCollection collection, android.graphics.drawable.Drawable drawable) Sets up all of the sources and layers needed for this exampleMethods inherited from class com.trimblemaps.mapsdk.plugins.places.searchflow.ui.SearchFlowFragment
bindListeners, bindViews, callPhoneNumber, getClusterChildren, getClusterChildren, getMap, handleClickIcon, newInstance, onActivityCreated, onDestroy, onDestroyView, onDwellTimesFetched, onFacilityDetailsFetched, onLowMemory, onPause, onResume, onSaveInstanceState, onStart, onStop, onViewCreated, refreshSource, removeOnBackPressedCallback, removePoiBubbles, setCenter, setOnLoadedListenerListener, setOnPlaceDetailsFetchedListener, setOnPlaceSelectedListener, setOnSettingsClickListener, setOnStyleLoadedListener, setPlaceChosenButtonText, setPlaceOptions, setUpInfoWindowLayer, zoomOutCameraOnCategorySelectedMethods inherited from class androidx.fragment.app.Fragment
dump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getDefaultViewModelCreationExtras, getDefaultViewModelProviderFactory, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLayoutInflater, getLifecycle, getLoaderManager, getParentFragment, getParentFragmentManager, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSavedStateRegistry, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, getViewLifecycleOwner, getViewLifecycleOwnerLiveData, getViewModelStore, hashCode, hasOptionsMenu, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isMenuVisible, isRemoving, isResumed, isStateSaved, isVisible, onActivityResult, onAttach, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreate, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onDetach, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPictureInPictureModeChanged, onPrepareOptionsMenu, onPrimaryNavigationFragmentChanged, onRequestPermissionsResult, onViewStateRestored, postponeEnterTransition, postponeEnterTransition, registerForActivityResult, registerForActivityResult, registerForContextMenu, requestPermissions, requireActivity, requireArguments, requireContext, requireFragmentManager, requireHost, requireParentFragment, requireView, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu
-
Field Details
-
TAG
- See Also:
-
-
Constructor Details
-
PoisOnRouteFragment
public PoisOnRouteFragment()
-
-
Method Details
-
newInstance
-
onCreateView
@Nullable public android.view.View onCreateView(android.view.LayoutInflater inflater, @Nullable android.view.ViewGroup container, @Nullable android.os.Bundle savedInstanceState) - Overrides:
onCreateViewin classcom.trimblemaps.mapsdk.plugins.places.searchflow.ui.SearchFlowFragment
-
bindFragment
protected void bindFragment(@Nullable android.os.Bundle savedInstanceState) - Overrides:
bindFragmentin classcom.trimblemaps.mapsdk.plugins.places.searchflow.ui.SearchFlowFragment
-
onStyleLoaded
protected void onStyleLoaded(@NonNull com.trimblemaps.mapsdk.maps.Style style) - Overrides:
onStyleLoadedin classcom.trimblemaps.mapsdk.plugins.places.searchflow.ui.SearchFlowFragment
-
handleBackPressed
public boolean handleBackPressed()- Overrides:
handleBackPressedin classcom.trimblemaps.mapsdk.plugins.places.searchflow.ui.SearchFlowFragment
-
setUpData
public void setUpData(com.trimblemaps.geojson.FeatureCollection collection, android.graphics.drawable.Drawable drawable) Sets up all of the sources and layers needed for this example- Specified by:
setUpDatain interfacecom.trimblemaps.mapsdk.plugins.places.autocomplete.ui.PoisResponseListener- Overrides:
setUpDatain classcom.trimblemaps.mapsdk.plugins.places.searchflow.ui.SearchFlowFragment- Parameters:
collection- the FeatureCollection to set equal to the globally-declared FeatureCollection
-
addCustomDataToBubble
protected void addCustomDataToBubble(com.trimblemaps.geojson.Feature feature, com.trimblemaps.mapsdk.annotations.BubbleLayout bubbleLayout) Add additional data (time off route) to the individual POI bubble view- Overrides:
addCustomDataToBubblein classcom.trimblemaps.mapsdk.plugins.places.searchflow.ui.SearchFlowFragment
-