arrayadapter spinner kotlin fragment
snippet in kotlin

arrayadapter spinner kotlin fragment

user4038

spinner.adapter = ArrayAdapter(
    this,
    R.layout.support_simple_spinner_dropdown_item,
    resources.getStringArray(R.array.atoms)
) as SpinnerAdapter