subscribe

open fun subscribe(owner: LifecycleOwner, navigationViewModel: NavigationViewModel)

Subscribes to a NavigationViewModel forupdates from androidx.lifecycle.LiveData.

Updates all views with fresh data / shows & hides re-route state.

Parameters

navigationViewModel

to which this View is subscribing