setEntries

fun Spinner.setEntries(position: Int?, entries: List<*>?)

Pass a list of StringResolvers to the Spinner without manually resolving the values through the context. Entries in the list which are not StringResolvers will be passed without trying to resolve the value. Optionally allows to select an item of the Spinner at position.