TtBreadcrumb

data class TtBreadcrumb(id: Int, label: LiveData<StringResolver>, rootItemIcon: LiveData<DrawableResolver?>)

Data class that can be used to populated the TtNavigationBar's breadcrumbs.

Parameters

id

Unique identifier for the breadcrumb.

label

The label displayed within the breadcrumb.

rootItemIcon

The icon shown in the root breadcrumb of the component.

Constructors

Link copied to clipboard
fun TtBreadcrumb(id: Int, label: LiveData<StringResolver>, rootItemIcon: LiveData<DrawableResolver?> = UnsetLiveData())

Properties

Link copied to clipboard
val id: Int
Link copied to clipboard
val label: LiveData<StringResolver>
Link copied to clipboard
val rootItemIcon: LiveData<DrawableResolver?>