Package com.mapbox.navigation.ui.base.installer

Types

Link copied to clipboard
interface ComponentInstaller

UIComponents installer interface.

Link copied to clipboard
fun interface Installation

Installed component handle that allows early component removal.

Functions

Link copied to clipboard
inline fun <T> ComponentInstaller.findComponent(): T?

Find installed component of type T.

Link copied to clipboard
fun MapboxNavigation.installComponents(lifecycleOwner: LifecycleOwner, config: ComponentInstaller.() -> Unit)

Install UI components in receiving MapboxNavigation instance.

fun MapboxNavigationApp.installComponents(lifecycleOwner: LifecycleOwner, config: ComponentInstaller.() -> Unit)

Install UI components in the default MapboxNavigation instance.