Answers for "how to set current item for spinner android"

0

how to set current item for spinner android

val b: List<Int> = a.mapIndexed { i, b -> if (b) i else null }.filterNotNull().toList()

spinnerObject.setSelection(b.get(0))
Posted by: Guest on October-02-2020

Code answers related to "how to set current item for spinner android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language