What’s difference between “= remember” and ” by remember” (Kotlin, Jetpack Compose)
It is just for convenience, to shortify syntax. By using delegate (by keyword) you can skip relating to value because it is done under the hood. In the documentation you can read There are three ways to declare a MutableState object in a composable: val mutableState = remember { mutableStateOf(default) } var value by remember … Read more