Uncoiling the COIL Understanding modern image loading on Android
summary
COIL claims to be Kotlin-first and backed by Kotlin Coroutines, using OkHttp for network fetches and offering Jetpack Compose support. The concrete pipeline runs interceptors → mappers → fetchers → decoders → optional transformations, with an engine interceptor that short-circuits on a two-layer cache: disk LRU with a journal and an in-memory strong→weak cache. Coil 2.0 is alpha, the image loader is intended as a singleton, and disk/journal cleanup runs after many operations so caching actually speeds repeated loads.
AI-written summary · about
chapters (16)
- 0:00Intro
- 0:25Uncoiling the COIL - Vol 2
- 2:41What is COIL? Coroutine Image Loader
- 9:39The pipeline
- 15:11EngineInterceptor The last interceptor in the chain
- 17:26Plugin custom mapper
- 21:28Plugin custom decoder
- 22:43Plugin custom transformation
- 27:45LRU Disk Cache Snapshot
- 28:17Snapshot Result of the cache read operation
- 29:03Editor
- 30:06LinkedHashMap In memory representation of a disk cache
- 31:22File System
- 37:35In memory caching
- 40:37Summary
- 41:51Resources Library documentation
related talks
45mUncoiling the COIL - Modern Image Loading on Android
41mA Picture Is Worth A 1,000 ... Lines? Devs?: Get the full picture (on image loading) with Coil
01h 16mA Composable New World!
41mAndroid, Compose, MP & Server - Inject them all with Coin
39mInject your Jetpack Compose Application with Koin
47mAndroid Architecture Design with Koin
36mInvesting in Koin
39mInject Basics!
