A big point of this project is to have all the non-ui code (compose and swift UI) be in the shared module. Though VMs are technically a part of the view layer, we should be able to push this down to the shared module and share the business logic between platforms.
There are multiple libraries we could use that exist, or we could build a really simple Android agnostic viewmodel that all platforms can then consume I think.
A big point of this project is to have all the non-ui code (compose and swift UI) be in the shared module. Though VMs are technically a part of the view layer, we should be able to push this down to the shared module and share the business logic between platforms.
There are multiple libraries we could use that exist, or we could build a really simple Android agnostic viewmodel that all platforms can then consume I think.
Check out KMP awesome repo for ideas: https://github.com/terrakok/kmp-awesome