dukecon / dukecon_mobile

Native mobile clients for Dukecon.org conferences build with Kotlin Multiplatform
https://dukecon.github.io/dukecon_mobile
Apache License 2.0
5 stars 0 forks source link

Migrate to MVVM and share also view model between platforms #26

Open michalharakal opened 4 years ago

michalharakal commented 4 years ago

Current version of iOS App and Android don't share code in presentation layer. Its not ment UI, this stay native(SwiftUI or UIKit, or Jetpackcompose etc...). But e.g ViewModels. In othe rproject is sharing of presentation layer posible

michalharakal commented 3 years ago

Evaluete also possibility to have also complete iOS ViewModel with support for ObservableObject in presentation layer https://github.com/dbaroncelli/D-KMP-sample/blob/main/iosApp/iosApp/AppViewModel.swift