fun attach(lifecycleOwner: LifecycleOwner): MapboxNavigationApp

Individually attach a lifecycle onto the MapboxNavigationApp. If the app has been setup, then this lifecycle will cause MapboxNavigation to be created.

It is not required to detach every lifecycle. Because when the Lifecycle reaches the terminal Lifecycle.State.DESTROYED state it will be removed from the observers automatically.