🌈 搜索
📅  最后修改于: 2022-03-11 14:52:34.538000             🧑  作者: Mango
val b: List = a.mapIndexed { i, b -> if (b) i else null }.filterNotNull().toList() spinnerObject.setSelection(b.get(0))