https://kotlinlang.org logo
#getting-started
Title
# getting-started
a

Alex Crafford

09/30/2019, 8:59 PM
Sounds like you are looking for a immutable list:
Copy code
val list: List<T> = listOf()
https://kotlinlang.org/docs/reference/collections-overview.html