Eugen Martynov
07/10/2023, 9:22 AMVlad
07/10/2023, 9:25 AMDavgdafa
07/10/2023, 9:36 AMcommonMain
.Eugen Martynov
07/10/2023, 9:41 AMVlad
07/10/2023, 10:50 AMDima Avdeev
07/10/2023, 11:06 AMEugen Martynov
07/10/2023, 11:06 AMDima Avdeev
07/10/2023, 11:11 AMEugen Martynov
07/10/2023, 2:23 PMDima Avdeev
07/10/2023, 8:36 PMDima Avdeev
07/10/2023, 8:36 PMYou can check the example here:https://github.com/IlyaGulya/compose-jb/tree/example/common-desktop-preview/experimental/examples/falling-balls-mpp
I've movedto common sourceSet and added stubGamePreview
annotation to trigger Compose Multiplatform IDE Support plugin to add gutter icon onandroidx.compose.desktop.ui.tooling.preview.Preview
function.GamePreview
darkmoon_uk
07/11/2023, 9:53 AMpreviewMain
source set, common to Desktop and Android, which get 'realised' with the correct annotations by wrapping functions in each platform. A bit of maintenance overhead but... It's common previews alright.