UIComponent
Using the UIComponent gives you access to a coroutineScope which uses Dispatchers.Main.immediate
. All coroutines that you launch inside onAttached will be canceled when the observer is detached. You do not need to implement onDetached for your flowable components.
Functions
Link copied to clipboard
Signals that the mapboxNavigation instance is attached and ready for use.
Link copied to clipboard
Signals that the mapboxNavigation instance is being detached.