SpinnerData

constructor(items: List<T>, selectedItem: T, mapper: (T) -> String, onItemSelected: (T) -> Unit)