How to clone or copy a list in kotlin

This works fine.

val selectedSeries = series.toMutableList()

Leave a Comment