subscribe
open fun subscribe(owner: LifecycleOwner, navigationViewModel: NavigationViewModel)
Content copied to clipboard
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