MapboxRouteCalloutAdapter

Adapters provide a binding from an app-specific data set to callout views that are attached to each route line.

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Notifies the adapter that the app-specific data set has changed.

Link copied to clipboard

Called when MapboxRouteLineView needs a new CalloutViewHolder representing RouteCallout

Link copied to clipboard
abstract fun onUpdateAnchor(view: View, anchor: ViewAnnotationAnchorConfig)

Called when view callout anchor has changed. When it triggers it means that view callout placement relative to its anchor coordinate has been updated.