TtEmptyStateViewModel
class TtEmptyStateViewModel(image: DrawableResolver?, headerText: StringResolver?, bodyText: StringResolver?, buttonViewModels: List<TtButtonViewModel>)
Content copied to clipboard
A view model for TtEmptyStateView. This view model can be applied via TtEmptyStateView's ttViewModel
XML property, or the extension method TtEmptyStateView.setViewModel
.
Parameters
image
The image to be shown.
headerText
The header text to be shown.
bodyText
The body text to be shown.
buttonViewModels
The view model of the buttons to be shown.
Constructors
Link copied to clipboard
fun TtEmptyStateViewModel(image: DrawableResolver? = null, headerText: StringResolver? = null, bodyText: StringResolver? = null, buttonViewModels: List<TtButtonViewModel> = emptyList())
Content copied to clipboard