Autocomplete textview in fragments
I want to create an autoCompleteTextView in a fragment but the Array adapter is bringing an error saying that 'none of the following function can be called with the arguments supplied'. So how should I use the array adapter in a fragment class?
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
val frequencyArray = ArrayList()
frequencyArray.add("Daily")
frequencyArray.add("Weekly")
frequencyArray.add("Monthly")...