update

fun update(data: (List<Int>) -> List<Int>)

以变换函数更新当前列表数据

Since

Api 2

Parameters

data

接收旧列表并返回新列表的函数