Is there a common function to load local resources...
# compose-desktop
j
Is there a common function to load local resources or I have to create an expect actual?
i
Currently there is no common function for that
j
Is it planned or is there an example about it? Android use
R
and desktop
File
so I don’t know if I can do an expect actual easily
i
Is it planned
We just thought about it, but didn't plan specific actions
example about it
You can find an example here: common android desktop
🙏 1
👀 1
m
The good old Java way like
getClass().getResourceAsStream
works on Android as well. So, as long as there is no better way this can at least be used on both platforms.
👍 2