John O'Reilly
03/21/2024, 8:24 AMViewModel
now available (https://developer.android.com/jetpack/androidx/releases/lifecycle#2.8.0-alpha03) does it make sense now to have Koin's viewModel
available in KMP code?arnaud.giuliani
03/22/2024, 2:21 PMarnaud.giuliani
03/22/2024, 2:22 PMviewModel
provides the DSL & binds to factory, Perhaps less need of KMM-ViewModel I would sayarnaud.giuliani
03/22/2024, 2:23 PMJohn O'Reilly
03/22/2024, 2:23 PMJohn O'Reilly
03/22/2024, 4:37 PMJohn O'Reilly
03/22/2024, 4:37 PMJohn O'Reilly
03/22/2024, 4:38 PMviewModel
DSL then I guess follow on question is how we access instance of view model in swift/swiftuiJohn O'Reilly
03/22/2024, 4:39 PMKoinComponent
so I could just instantiate it directly in SwiftUIarnaud.giuliani
03/22/2024, 5:27 PMJohn O'Reilly
03/23/2024, 2:52 PMJohn O'Reilly
03/23/2024, 3:08 PMviewModel
DSL for most part on Android and creating explicitly in SwiftUI in iOS client.....where things get interesting is where I'm injecting view model in to shared composable....for now ust using single
in shared module for thatarnaud.giuliani
03/25/2024, 8:14 AMSterling Albury
05/08/2024, 8:32 AMorg.jetbrains.androidx.navigation:navigation-compose
library, I can basically use the nav graph i'm using on android with my desktop app, except I have to do the vm injection different. haven't explored it much ios yet but I'm guessing it's about the same.