Binder

interface Binder<T>

This interface works with the UICoordinator. Implementations of this class representation are responsible for transitioning a view(s) into the ViewGroup. They are also responsible for deciding what components should be part of the view.

Inheritors

Functions

Link copied to clipboard
abstract fun bind(viewGroup: T): MapboxNavigationObserver

Triggered when this view binder instance is attached. The viewGroup returns a MapboxNavigationObserver which gives this view a simple lifecycle.