andydelso / aperture

An app to track Oscar nominees you have watched using KMP
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

SPIKE - Explore KMP VM Libraries #3

Open andydelso opened 6 months ago

andydelso commented 6 months ago

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