https://kotlinlang.org logo
s

Shabinder Singh

02/09/2021, 2:26 PM
Any Idea why is it saying no static method exists??
m

Marc Knaup

02/09/2021, 2:30 PM
I think that’s a question for #compose
s

Shabinder Singh

02/09/2021, 2:30 PM
is it? actual/expect isnt a part of Kotlin Multiplatform?
m

Marc Knaup

02/09/2021, 2:31 PM
Is that even supported yet with Compose? 🤔
s

Shabinder Singh

02/09/2021, 2:32 PM
Yes , all other Actual/Expect working Fine this one causing issue
m

Marc Knaup

02/09/2021, 2:36 PM
Interesting that it’s looking for a static method. That’s probably because of Compose. Regular Kotlin would be
FileKt.ImageLoad
.
s

Shabinder Singh

02/09/2021, 2:38 PM
Yeah, possible🤔
m

Marc Knaup

02/09/2021, 2:38 PM
You know that pinned messages are pinned for everyone in the same channel? :)
r

russhwolf

02/09/2021, 3:26 PM
What does the expect declaration look like?
s

Shabinder Singh

02/09/2021, 3:27 PM
r

russhwolf

02/09/2021, 3:30 PM
Hm. Had a hunch there might be a mismatch there but I don't see anything.
s

Shabinder Singh

02/09/2021, 3:31 PM
Yes , intially the method was working , but stopped after rebuild... no change in source code.,Randomly this error started popping up
2 Views