TtBreadcrumbViewModel

fun TtBreadcrumbViewModel(label: LiveData<StringResolver>, icon: LiveData<DrawableResolver?> = UnsetLiveData(), onClick: () -> Unit)

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.