TtBreadcrumbViewModel
data class TtBreadcrumbViewModel(label: LiveData<StringResolver>, icon: LiveData<DrawableResolver?>, onClick: () -> Unit)
Content copied to clipboard
The ViewModel for a breadcrumb inside the navigation bar.
Parameters
label
The label to show for the breadcrumb.
icon
The optional icon to show for the root breadcrumb.
onClick
Callback to receive click for the breadcrumb's click events.
Constructors
Link copied to clipboard
fun TtBreadcrumbViewModel(label: LiveData<StringResolver>, icon: LiveData<DrawableResolver?> = UnsetLiveData(), onClick: () -> Unit)
Content copied to clipboard