Join Slack
Powered by
hm! I didn’t know you could do the array literal `...
# getting-started
o
oday
12/24/2017, 11:50 AM
hm! I didn’t know you could do the array literal
[ ]
instead of
arrayOf
a
Andreas Sinz
12/24/2017, 12:08 PM
@oday
where did you get that suggestion from?
o
oday
12/24/2017, 12:11 PM
http://snpy.in/yqin0i
a
Andreas Sinz
12/24/2017, 12:12 PM
ah yeah, but it only works inside annotations
➕ 1
o
oday
12/24/2017, 12:12 PM
figures
oday
12/24/2017, 12:12 PM
cause first time I seen it
a
asad.awadia
12/24/2017, 1:45 PM
One of the best things about kotlin - arrayOf listOf hashMapOf
2
Views
Open in Slack
Previous
Next