iex
07/11/2020, 7:01 PMModel
annotation) don't resonate that much with me. I like the unidirectional flow with MVVM and live data. I'm considering implementing MVI like described here https://medium.com/swlh/android-mvi-with-jetpack-compose-b0890f5156ac but without the "innovation" of letting the state to directly create the Compose views. I'd let the fragment create those in response to the state. Are there any problems with this approach?iex
07/11/2020, 7:05 PMMutableState
or @Model
but instead pushing down immutable objects with all the state will turn off optimizations or something?Adam Powell
07/11/2020, 7:19 PM@Immutable
then they will be compared to previous parameter values and a composable function call will be skipped if the parameters are stable and equalAdam Powell
07/11/2020, 7:20 PMiex
07/11/2020, 8:48 PMiex
07/11/2020, 8:49 PMLeland Richardson [G]
07/11/2020, 9:55 PMLeland Richardson [G]
07/11/2020, 9:56 PMiex
07/12/2020, 4:22 PM