sdk-maps / com.tomtom.online.sdk.map / TrafficIncidentsBalloonViewAdapter / onCreateView

onCreateView

@NonNull open fun onCreateView(@NonNull container: ViewGroup, @NonNull mapPoint: MapPoint, @NonNull balloonModel: TrafficIncidentsMapBalloon): View

Overrides MapBalloonViewAdapter.onCreateView

A callback which is called when inflating model.

Parameters

container - ViewGroup: - A container where a marker or balloon item will be inflated.

marker - - A marker which has a balloon.

markerBalloon - - A view model of a marker balloon.