Package-level declarations

Types

Link copied to clipboard
@IviExperimental(reasons = [])
class Breadcrumb(val label: StringResolver, val icon: DrawableResolver? = null, val onClicked: () -> Unit = {})

Represents a breadcrumb. Part of NavigationBarViewModel, so that the navigation bar can show a breadcrumb for each panel that the end-user can navigate to.

Link copied to clipboard

An interface for view models which provides panel navigation data.

Link copied to clipboard
@IviExperimental(reasons = [])
data class NavigationBarViewModel(val showBackButton: Boolean = false, val onBackButtonClicked: () -> Unit = {}, val title: StringResolver? = null, val breadcrumbs: List<Breadcrumb> = emptyList())

View model for a navigation bar, such as TtNavigationBar. The navigation bar allows the end-user to navigate between different panels.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Converts LiveData of NavigationBarViewModel to the same type and content, except that NavigationBarViewModel.breadcrumbs is set to an empty list.

Link copied to clipboard

Converts LiveData of NavigationBarViewModel to the same type and content, except that NavigationBarViewModel.title is set to null.