Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Coil AsyncImage not resolving

I have not been able to get Coil to resolve for me. I’ve added the implementation to my gradle

implementation('io.coil-kt:coil:2.2.2')

I’ve added

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

import coil.* and I’ve tried import coil.compose.AsyncImage and neither have proven to be successful.

>Solution :

You have to add the dependency:

implementation("io.coil-kt:coil-compose:2.2.2")

Then you can import:

import coil.compose.AsyncImage
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading