<Kotlin ArrayAdapter Error: None of the following ...
# stackoverflow
u
Kotlin ArrayAdapter Error: None of the following functions can be called with the arguments supplied I am new to Kotlin for Android development. While following along a tutorial project, I needed to use ArrayAdapter with a custom class. Building the project failed with error. The MainActivity.kt class throwing the error: class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) setSupportActionBar(toolbar) } val dm = DataManager() val adapterCourses =...