invalidateOnChange

fun invalidateOnChange(screen: Screen): CarNavigationInfoProvider

Helper function to allow you to hook up the provider to a screen. The screen will be invalidated when the data changes, and you can populate the NavigationTemplate with the navigation info inside Screen.onGetTemplate.