This is the default recommended approach. It can be used for the list, array, and map. i.e. val listFirstItem = list[0] // list = listOf(1)
確定! 回上一頁