nimblehq / kmm-templates

MIT License
2 stars 0 forks source link

Implement the base Clean Architecture with MVVM: presentation/app layer #14

Open luongvo opened 1 year ago

luongvo commented 1 year ago

Why

The template should provide the initial base architecture to start. The selected architecture for the shared, Android and iOS modules is Clean Architecture with MVVM.

Who Benefits?

Developers

phongvhd93 commented 11 months ago

This needs to be evaluated. Most of KMM-IC are now sharing the Domain and Data layer only. From my exp sharing ViewModel is quite tricky

kaungkhantsoe commented 11 months ago

I can implement the viewModel inside the android module and only share the Data and Domain. What is your thought on this @luongvo ?

luongvo commented 11 months ago

@kaungkhantsoe Yes, let's go with a native VM in each Android and iOS module now. cc @phongvhd93

luongvo commented 11 months ago

Hi @kaungkhantsoe. I'm finishing the task of reusing the Android app module from Android Templates #29. Please postpone this task until I finish my one to re-check and revise the plan for further necessary updates for the Android module. 🙏

kaungkhantsoe commented 11 months ago

Got it @luongvo 🙏