Home > Blockchain >  Coil AsyncImage not resolving
Coil AsyncImage not resolving

Time:12-24

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

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

CodePudding user response:

You have to add the dependency:

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

Then you can import:

import coil.compose.AsyncImage
  • Related