Hello! I'm new to Compose Multiplatform but have e...
# compose
j
Hello! I'm new to Compose Multiplatform but have experience in Compose for Android only. Can you explain how I should choose between the
org.jetbrains.compose.ui.tooling.preview.Preview
and the
androidx.compose.ui.tooling.preview.Preview
annotations when I work on the multiplatform composables and want to have previews for them?
v
Only this one:
org.jetbrains.compose.ui.tooling.preview.Preview
works in a shared source set. The androidx one does continue to work only if you define it in the android source set.