Have you tried using the spread operator? `context...
# android
g
Have you tried using the spread operator?
context.getString(resId, *args)
j
Okay that works
So that means
vararg
does not compile to
Array
, but
*vararg
does (?)
g
vararg measn you get an array with arguments. If you then want to pass this array to another function acception vararg, you have to spread it