Hi Everyone. Does KMP currently support previewing...
# multiplatform
z
Hi Everyone. Does KMP currently support previewing in Android Studio? I created a function with @Preview annotation, but the preview does not appear on the right side of the IDE. Do I need additional configuration?
p
You can just create previews in the androidMain sourceset. Or use compose desktop preview, but it’s more limited
m
To add to @Pavel S answer, Fleet uses compose desktop preview which means if you want compose resources you need to add desktop as target.
z
@Pavel S What should I do to use preview in desktopMain? There is no "Run Preview" on the left side of the @Preview function.