Skip to content

FAQ

Have a question that isn't part of the FAQ? Check StackOverflow with the tag #coil or search our Github issues.

Can Coil be used with Java projects or mixed Kotlin/Java projects?

Yes! Read here.

How do I preload an image?

Read here.

How do I set up disk caching?

Read here.

How do I get development snapshots?

Add the snapshots repository to your list of repositories:

Gradle (.gradle):

allprojects {
    repositories {
        maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
    }
}

Gradle Kotlin DSL (.gradle.kts):

allprojects {
    repositories {
        maven("https://oss.sonatype.org/content/repositories/snapshots")
    }
}

Then depend on the same artifacts with the latest snapshot version.

Note

Snapshots are deployed for each new commit on master that passes CI. They can potentially contain breaking changes or may be unstable. Use at your own risk.