For Compose Multiplatform Previews why we can't ju...
# compose
m
For Compose Multiplatform Previews why we can't just have Android Preview in Common without having anything special things with it and compiles for Android only. At least as a starting point. Because now tooling for Compose works differently on Jetpack Compose and Compose Multiplatform, if we use a multiplatform component in android previews, it's slower than components with jetpack. Also, Android layout inspector does not recognize multiplatform components. Which doesn't make sense to me since CMP is just Jetpack Compose for Android.
r
You can use Compose Multiplatform without Android.
m
I know, I'm asking about the technical reasons why Android tooling works differently and not as expected with Compose Multiplatform.
r
There is nothing different. I guess what you are observing is just the same thing you can observe when you are previewing a component from a different module.
m
How did you measure the difference between android compose and multiplatform compose?