Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.34 KB

faq.md

File metadata and controls

51 lines (33 loc) · 1.34 KB

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 enable logging?

Set logger(DebugLogger()) when constructing your ImageLoader.

!!! Note DebugLogger should only be used in debug builds.

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.