0

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.

Robert
  • 809
  • 3
  • 10
  • 19

1 Answers1

2

You have to add the dependency:

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

Then you can import:

import coil.compose.AsyncImage
Gabriele Mariotti
  • 320,139
  • 94
  • 887
  • 841