Travis Griggs
03/01/2023, 8:06 PMStylianos Gakis
03/01/2023, 8:13 PM@Model
annotation?Filip Wiesner
03/01/2023, 8:22 PMmutableStateOf()
but I never used it. I just remember it from the first presentation at Google I/O.
That didn't even get to Compose 1.0 👴Kirill Grouchnikov
03/01/2023, 8:28 PMStylianos Gakis
03/01/2023, 8:28 PMTravis Griggs
03/01/2023, 8:29 PMFilip Wiesner
03/01/2023, 8:32 PMTravis Griggs
03/01/2023, 8:41 PMStylianos Gakis
03/01/2023, 9:16 PMStateFlow
where you then read it by converting it to state (with .collectAsState() or .collectAsStateWithLifecycle()) and yes, it should just reflect those changes in your UI.
But again, I think that what Filip is saying is your best bet. Get familiar with the basic concepts first, and then it will be quite a lot easier to figure out the rest.