arrayadapter spinner kotlin fragment code example
Example: arrayadapter spinner kotlin fragment
spinner.adapter = ArrayAdapter(
this,
R.layout.support_simple_spinner_dropdown_item,
resources.getStringArray(R.array.atoms)
) as SpinnerAdapter