I have an array of userIDs, which contains specific users from a certain group.
{userID1,userID2}
val userIDArrayList: ArrayList<String> = ArrayList()
userIDArrayList.add(userID1)
userIDArrayList.add(userID2)
I want to make a master array which contains several different user arrays.
[{userID1, userID2}, {userID3, userID4}]
How can I do that in kotlin?
Lists notArrays. It's calledArrayListbecause it's a list implemented with arrays, but it's not equivalent to an array.