/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.map.home/TripKitMapContributor
TripKitMapContributor
interface TripKitMapContributor
Implementations of this class will be called at certain points in a TripKitMapFragment's lifecycle, allowing the implementation to add items to the map, such as markers or polylines.
Inheritors
| TimetableMapContributor |
| TripResultMapContributor |
| TripResultListMapContributor |
Functions
| Name | Summary |
|---|---|
| cleanup | abstract fun cleanup() Called either from onStop() or when the map is switching to another contributor. |
| getInfoContents | abstract fun getInfoContents(marker: Marker): View? Called when an info window is clicked. |
| initialize | abstract fun initialize() Called from the TripKitMapFragment's onAttach(). |
| safeToUseMap | abstract fun safeToUseMap(context: Context, map: GoogleMap) Called when the map has been initialized and is safe to use. |
| setup | abstract fun setup() Called from onStart(). |