MediaContentEntryItemViewModel
constructor(mediaItem: IviMediaItem, itemState: IviPlaybackState, type: ListGroupItem.ItemType, clickAction: ClickAction)
Parameters
mediaItem
The media item. Used to determine the playback state.
itemState
The playback state of the item.
type
May only be ItemType.GRID_ITEM or ItemType.LIST_ITEM.
clickAction
Action to perform when the item gets clicked or tapped by the user.