Kotlin: user input into list
I'm trying to create an app in Android Studio, where the user needs to input multiple names that are going to be stored in a list. I also wish to show the list to the users with ListView.
Right now my approach is to have an EditText container where the user can input text, and then with the press of a button it would add it to the list "AllPlayersHidden". From there it would update the adapter, and then the ListView.
Here's the main functional snippet:
// List of players that is...