Skip to content
Advertisement

Copy some values from one ArrayList to another kotlin

I have list:

JavaScript

ComplexModel contains (Name,Title,StartDate,Summarry)

I want to find better way to create new MutableList from skillsList but the new list have to get only Name and Title from the first.For the moment i`m with this solution but i wonder if there are better way to achieve this.

JavaScript

Advertisement

Answer

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement