Join Slack
Powered by
you need to use `mutableListOf` if you need a muta...
# getting-started
j
janvladimirmostert
02/18/2017, 6:29 PM
you need to use
mutableListOf
if you need a mutable list,
listOf
simply returns type
List
which is immutable. Naming convention is probably due to the Java naming convention - keep java.util.List, but make it immutable.
Open in Slack
Previous
Next