sdk-maps / com.tomtom.online.sdk.map / TrafficFlowBalloonViewAdapter

TrafficFlowBalloonViewAdapter

abstract class TrafficFlowBalloonViewAdapter : MapBalloonViewAdapter<TrafficFlowMapBalloon!>

Default abstract implementation for inflating traffic balloon model. Extends TrafficFlowBalloonViewAdapter to provide own implementation of traffic view adapter.

Types

Default

open class Default : TrafficFlowBalloonViewAdapter

Default implementation of traffic view balloon adapter.

Constructors

<init>

TrafficFlowBalloonViewAdapter()

Default abstract implementation for inflating traffic balloon model. Extends TrafficFlowBalloonViewAdapter to provide own implementation of traffic view adapter.

Functions

onCreateView

open fun onCreateView(container: ViewGroup, mapPoint: MapPoint, balloonModel: TrafficFlowMapBalloon): View!

Inherited Functions

getBalloonOffset

open fun getBalloonOffset(mapPoint: MapPoint): Point

getBalloonView

open fun getBalloonView(): View

getLayout

abstract fun <M : T> getLayout(mapPoint: MapPoint, balloonModel: M): Int

onBindView

open fun <M : T> onBindView(view: View, mapPoint: MapPoint, balloon: M): Unit

Inheritors

Default

open class Default : TrafficFlowBalloonViewAdapter

Default implementation of traffic view balloon adapter.