Big Chungus
11/10/2020, 5:47 PMjim
11/10/2020, 5:49 PM@Model
was deprecated many month/releases ago. The new way of creating something like a Model is to use mutableStateOf
.
class MyModel {
val whatever by mutableStateOf(...)
val fields by mutableStateOf(...)
val here by mutableStateOf(...)
}
Big Chungus
11/10/2020, 5:50 PM