icerockdev / moko-mvvm

Model-View-ViewModel architecture components for mobile (android & ios) Kotlin Multiplatform development
https://moko.icerock.dev/
Apache License 2.0
996 stars 95 forks source link

[Feature Request] Split project into multiple artifacts #79

Closed nrobi144 closed 3 years ago

nrobi144 commented 3 years ago

I'd propose the following changes in order to better capture the possible needs of consumers:

  1. Since Android is moving towards Flows (StateFlow & SharedFlow), I believe it would make sense to have a separate -livedata artifact
  2. Also with moving towards compose I think the MvvmActivity and binding adapters could also go into a separate artifact
  3. For those who are sharing VM logic & would like to leverage the Android Arch Viewmodel, a lightweight artifact, with the Android VM abstraction, which targets all possible KMP platforms (js, macos, jvm, etc...) would be really beneficial
Tetraquark commented 3 years ago

It seems that the similar idea is already being discussed in #65