PROTOCOL

InteractionItemSelectModel

public protocol InteractionItemSelectModel: InteractionItemModel, InteractionValueModel

An InteractionItemModelthat represents a Select item that is mainly used by a SpinnerTextViewHolder.

Properties

action

var action: Action?

An action that is to be triggered when an interaction occurs.

options

var options: [(String, String)]

The available selection options

selectedPosition

var selectedPosition: Int?

The currently selected position