Hi everyone, I just want to ask on what library yo...
# multiplatform
k
Hi everyone, I just want to ask on what library you can suggest for MVVM? It should be working for both iOS and Android. Or is there a manual way on how to do it? If so, linking reference is appreciated.
j
Depends what youre after, but I did see some using https://github.com/rickclephas/KMM-ViewModel
👀 1
Personally felt its so easy to make with expect/actual myself, feels waste using a library for it. I think this one https://github.com/arkivanov/Decompose also having support for MVVM 🙂
k
All what you want in one place https://github.com/terrakok/kmp-awesome
👀 1
k
@Joel Denke I'm not sure what I am after, I am that new. But I have my goals for the app to work in both iOS and Android.
j
@Kisses Hehe yeah I see, yeah theres no right or wrong here I think. You need to test what fits your needs. What I like with KMP/CMP is that youre more pushed/enabled to re-think earlier more "recommended" archtiectures (For Android at least by Google). But its more recommended because Google and Apple using them or want us to, not because neccessarily the best architecture. For CMP there is a lot of other approaches than MVVM. I do realized myself I benefit from going away from things like androidx viewmodel and think outside the box. Example of arhcitecture is Circuit using presenters and ui factory pattern, make the Composables injectable in DI level. Its a huge topic I know. Just want to say theres not really a best practice here.