Gharsa Khouloud

1

votes
0

answer
14

views

the spinner doesnt work in my kotlin fragment

I want a spinner to show up to make the user choose between two types and it doesn't work inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle? ): View? { spinner2?.adapter = ArrayAdapter(activity, R.layout.support_simple_spinner_dropdown_item, types) as SpinnerAdapter spinne...
Gharsa Khouloud