Hey guys! After Google supporting view models in K...
# multiplatform
k
Hey guys! After Google supporting view models in KMP, should I still prepend the dependencies with
org.jetbrains.
or can I also simply use
androidx.lifecycle...
? I’m a bit confused where to prepend it, and where not. Seems like Google defines the concepts of KMP “compatibility” and “support”, and for compatibility I need to prepend the dependencies with
org.jetbrains
since an integration is needed (and provided by jetbrains), while in case of “support” Google did it for us and I can directly use
androidx.
paths. Or maybe I got it all wrong. In general, it would be great to have an approach defined of what to do when I need a dependency in KMP/CMP. Or a place where I can see the libraries listed. For example, if I need to include
androidx.compose.material3
dependencies - where should I look for CMP version and if it even exists?