https://kotlinlang.org logo
#android-architecture
Title
# android-architecture
z

zokipirlo

06/13/2019, 6:15 AM
Do you guys think that Jetpack Compose will change current architecture patterns or introduce some new?
g

gildor

06/13/2019, 6:25 AM
For sure
2
Probably ones who use MVI or other unidirectional data flow architectures will migrate more easy than other
Not sure about new, depends on what you consider as new
z

zokipirlo

06/13/2019, 7:32 AM
I don't know. Have been watching a lot around MVVM, MVI,... lately, but I'm worried now that will become obsolete soon.
g

gildor

06/13/2019, 7:41 AM
MVI should work perfectly with Compose
e

Eric Martori

06/13/2019, 9:13 AM
MVVM should work fine with compose, doesn't it?
g

gildor

06/13/2019, 9:14 AM
I believe you can use any architecture with some modifications
usually MVVM is mutable and have some bindings between VM and View
but you don’t need bindings in case of Compose
also to use mutable model you need special
@Model
state to notify Compose that something is changed
2 Views