Is there a simple way to convert the following (fr...
# compose
l
Is there a simple way to convert the following (from alpha07) ?
Copy code
Image(asset = vectorResource(id = imageRef), modifier = modifier)
m
Replace asset parameter with vectorAsset.
l
Thank you 😃
m
Sorry my bad, replace asset with imageVector.
l
No problem thank you 😃
I've tried
Image(imageVector = vectorResource(id = imageRef), cotentDescription = "pieceImage", modifier = modifier)
but my code still does not compile.
There was a typo in cotentDescription : contentDescription