Shabinder Singh
02/09/2021, 7:01 PMjim
02/09/2021, 7:05 PMShabinder Singh
02/09/2021, 7:07 PMjim
02/09/2021, 7:16 PMimageResource
(defined in the various Resources.kt
files) is an expect/actual resource loader for ImageBitmaps.
The code you have looks approximately/decently correct, only thing I can think of is that maybe your modules / platform types aren't setup correctly. If you think it's setup correctly and is a bug in the Compose Compiler, please provide a minimal sample and we can investigate further.Igor Demin
02/09/2021, 9:57 PMNoSuchMethodErrorIf I remember correctly, multiplatform plugin had the issue, when we create files with same names in androidMain/desktopMain. For example instead of Resources.kt in androidMain / desktopMain we should name files as AndroidResources.kt and DesktopResources.kt
jim
02/09/2021, 10:04 PMShabinder Singh
02/10/2021, 4:51 AM