0xf1f1
02/09/2024, 7:49 PMJeff Lockhart
02/09/2024, 8:04 PM0xf1f1
02/09/2024, 9:17 PMJeff Lockhart
02/09/2024, 9:53 PMState
, internally MutableState
for the parent view model to update with the update function reference, which the UI would react to the update to. You could also do the same with a MutableStateFlow
and collectAsState
as well.
The database approach would also be reactive as well, assuming an observable datastore.