An image loading library for Android backed by Kotlin Coroutines. Coil is:
- Fast: Coil performs a number of optimizations including memory and disk caching, downsampling the image in memory, automatically pausing/cancelling requests, and more.
- Lightweight: Coil adds ~2000 methods to your APK (for apps that already use OkHttp and Coroutines), which is comparable to Picasso and significantly less than Glide and Fresco.
- Easy to use: Coil's API leverages Kotlin's language features for simplicity and minimal boilerplate.
- Modern: Coil is Kotlin-first and uses modern libraries including Coroutines, OkHttp, Okio, and AndroidX Lifecycles.
Coil is an acronym for: Coroutine Image Loader.
Made with ❤️ at Instacart. Translations: 한국어, 中文, Türkçe
Change minSdk=17 from 21
change okhttp version = 3.12.13
Not Supported compose
Just available on mavenLocal().
1.clone this
2.build :
./gradlew publishToMavenLocal --no-daemon --no-parallel3.add mavenLocal() to your project
4.add dependencies
implementation("com.github.xxwgg:coil:2.1.0-min17-SNAPSHOT")
implementation("com.github.xxwgg:coil-gif:2.1.0-min17-SNAPSHOT")
//...