Folks, how do I choose which one to use between ArrayList and MutableList? and what are the ups and downs?
m
marstran
09/28/2019, 11:02 AM
Most of the time you want to use either List or MutableList. Both are usually backed by an ArrayList, but you don’t really need to care about the implementation most of the time.
👍🏼 2
k
karelpeeters
09/28/2019, 11:40 AM
The only exception where you'd want to use
ArrayList
explicitly is when you're using a specific method like