ListItemHeaderViewModel

constructor(itemId: Any, iconDrawable: DrawableResolver? = null, text: StringResolver? = null)

A convenience constructor to populate the ViewModel with the given DrawableResolver and StringResolver.


constructor(itemId: Any, icon: ImageSource? = null, text: StringResolver? = null)

Parameters

itemId

A unique stable ID for the header item. See ListItemViewModel.itemId.

icon

The icon for the header item displayed in Image section.

text

The text for the header item displayed in Text section.