How do I share images with compose-android?
# compose-desktop
a
How do I share images with compose-android?
m
What exactly do you mean by “sharing”? One easy possibility is to put them in a folder
resources
and then access them as standard Java resource. That’s supported on Android as well as on Desktop if that’s what you mean by “sharing”.
a
I wasn't aware I could use the android resource folder the same way I could in desktop. Will give it a try
g
It's not Android resource folder, Android one called
res
in this case it's standard java
resources
dir, one which you have access on every Java class: Class.getResource()