Is there a common function to load local resources or I have to create an expect actual?
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