Tag: 副本

如何克隆或复制kotlin中的列表

如何在kotlin中复制列表…我正在使用 val selectedSeries = mutableListOf<String>() selectedSeries.addAll(series) 有更简单的方法吗?