How are people sharing resources between an androi...
# compose-desktop
c
How are people sharing resources between an android app and desktop app using the multiplatform stuff? Is everyone else doing a thing where they have an expected object that has a list of
@Composable
functions that return
Painter
instances?
m
Android and Desktop is simple. This was just asked a few days ago here: https://kotlinlang.slack.com/archives/C01D6HTPATV/p1666937016437649
c
hmm I guess that would work but you kind of lose the density configurations for things, but I guess for vectors that's ace
s
You could provide different assets for each platform if you really wanted.
Sharing between Android and Desktop is cake.
x
Have used moko-resources, for static assets in the past, but the desktop client ended up requiring different assets altogether so had to just do `expect`/`actual` in the end