/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.tripresults.map_contributor/TripResultListMapContributor

TripResultListMapContributor

\ interface TripResultListMapContributor : TripKitMapContributor

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.
setOriginDestinationLocations abstract fun setOriginDestinationLocations(from: Location?, to: Location?)
setTripResultStreamObserver abstract fun setTripResultStreamObserver(context: Context, tripResultStream: BehaviorSubject<List<TripResultViewModel>>)
setup abstract fun setup()
Called from onStart().
abstract fun setup(context: Context)