Why should type argument be specified when using method reference of a generic class in Kotlin?

前端 未结 0 990
醉话见心
醉话见心 2021-01-14 02:20

Suppose I have a list of lists:

val wrapperList = listOf(
    listOf(1, 2),
    listOf(3, 4),
    listOf(5, 6)
)

Now this does NOT work in Ko

相关标签:
回答
  • 消灭零回复
提交回复
热议问题