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.

clickAction

Action to perform when the item gets clicked or tapped by the user.