selectSpinnerItemByTextReference

fun selectSpinnerItemByTextReference(textReference: KProperty<Int>): ViewAction

Selects an item from a Spinner which matches the given textReference exactly. Items are matched with a simple Any.toString equality comparison and thus this might not be suitable for complex adapters.