sdk-maps-ui-extensions / com.tomtom.online.sdk.map.ui.currentlocation / CurrentLocationViewAdapter

CurrentLocationViewAdapter

interface CurrentLocationViewAdapter

The adapter for current location view that allows to provide custom params (e.g. Context) that will be used internally for selected operations (e.g. show error dialog).

Functions

getContext

abstract fun getContext(): Context!

Get Context that is used to show alert dialogs. Note, that all resources (e.g. strings) are still obtained within the origin context derived from MapView.