I'm facing following issue for Image component aft...
# compose
s
I'm facing following issue for Image component after updating to alpha 08. Why is that happening?
Copy code
None of the following functions can be called with the arguments supplied.
Image(ImageAsset, Modifier = ..., Alignment = ..., ContentScale = ..., Float = ..., ColorFilter? = ...) defined in androidx.compose.foundation
Image(Painter, Modifier = ..., Alignment = ..., ContentScale = ..., Float = ..., ColorFilter? = ...) defined in androidx.compose.foundation
Image(VectorAsset, Modifier = ..., Alignment = ..., ContentScale = ..., Float = ..., ColorFilter? = ...) defined in androidx.compose.foundation
a
You are using wrong parameter name. Rename
imageResource
to
imageAsset
.
s
Thanks got it
👍🏻 1