我的应用未在适配器中显示列表,并且显示此错误:
java.util.ArrayList无法转换为com.google.gson.internal.LinkedTreeMap
val otherStrings = arrayOf("a", "b", "c")
val adapter = ArrayAdapter(this, R.layout.support_simple_spinner_dropdown_item, otherStrings)
selectReasonAutoCompleteTextView.setAdapter(adapter)
selectReasonAutoCompleteTextView.showDropDown()