摘要:
解构: class User(var age:Int, val name:String){ operator fun component1() = age operator fun component2() = name } fun main() { val (age, name) = User(1 阅读全文
摘要:
remember gives a composable function memory. A value computed by remember will be stored in the composition tree, and only be recomputed if the keys t 阅读全文