About this project
Coil is an image loading library for Android and Compose Multiplatform. Its name is an acronym for Coroutine Image Loader, reflecting its Kotlin-first design built on Kotlin, Coroutines, and Okio.
Key characteristics described by the project:
- Fast: performs optimizations such as memory and disk caching, image downsampling, and automatically pausing or cancelling requests.
- Lightweight: depends only on Kotlin, Coroutines, and Okio, and works with Google's R8 code shrinker.
- Easy to use: the API uses Kotlin language features to reduce boilerplate.
- Modern: interoperates with Compose, Coroutines, Okio, OkHttp, and Ktor.
Quick start: add the Compose artifact and a networking artifact, for example io.coil-kt.coil3:coil-compose and io.coil-kt.coil3:coil-network-okhttp, then load an image with the AsyncImage composable by passing a model such as a URL and a content description. Full documentation is available on the project's documentation site.
The README is also translated into Japanese, Korean, Russian, Swedish, Turkish, Chinese, Persian, and Uzbek. The project is licensed under the Apache License, Version 2.0.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.