I want to pass a List of string into another activity and then display it in a ListView using Intent. I fugured out that I have to pass the List as a Array or Serializable.
val intent: Intent = Intent(this,SettingsActivity::class.java)
intent.putExtra("list",ArrayList<String>(resultsList) )
startActivity(intent)
But I can't figure out exactly how to get it from the intent and display it in ListView