Hi guys,
There is a method in gava which accept one parameter as String… args. I am trying to pass there app args which is Array<String> but code analyzer telling me what i cannot do that. How i can transform args to be able to do that?
Thanks
Hi guys,
There is a method in gava which accept one parameter as String… args. I am trying to pass there app args which is Array<String> but code analyzer telling me what i cannot do that. How i can transform args to be able to do that?
Thanks
Use spread operator, see example from M2 release notes. Unfortunately, it is not described in main Koltin docs.
Thaks! Did not tryied yet, but looks straightforward.