Join Slack
Powered by
Assuming you want to create a new list
# android
l
louiscad
05/04/2017, 2:17 PM
Assuming you want to create a new list
👍 1
m
mmaillot
05/04/2017, 2:19 PM
louiscad: Good point 🙂 I hate mutableList, it's so 2016 🙂
l
louiscad
05/04/2017, 2:21 PM
It's so GC too 😛 Use Mutable List when relevant to your use case, and use immutable otherwise, there's no one size fits all
m
mmaillot
05/04/2017, 2:26 PM
GC only for big list, for small list it's a small impact (only descriptor is duplicated, objects stored are sames). Depends on use case as you said 🙂
3
Views
Open in Slack
Previous
Next