https://kotlinlang.org logo
r

rocketraman

10/05/2020, 2:02 PM
@Daniele B Shout-out for your post!! It, and the other comments in this thread, got me started in the right direction. Combining your pattern with
CFlow
mentioned above from the Kotlin MPP conference app for properly closing the job associated with reading the
StateFlow
, and Kodein for injecting the shared view model into both Android and Swift code, and I've successfully gotten an MPP app with iOS and Android views driven by
StateFlow
working!