An interface for view models which provides panel navigation data, such as navigationBarViewModel.

View models for panels that implement PanelDescriptorProvider and provide a NavigablePanelContext can implement this interface. In this way, for example, TtNavigationBar can be populated from navigationBarViewModel.


Link copied to clipboard
open val navigationBarViewModel: LiveData<NavigationBarViewModel?>

The view model for the navigation bar. With the navigation bar, the end-user can navigate between different panels.

Link copied to clipboard
abstract val panel: P

The panel for which this view model applies.