~/talk

Uncoiling the COIL - Modern Image Loading on Android

Talkat Android Worldwide July 2021 · 2021-07-27..07-28· [android]
links:none on file
slides:none on file

COIL is a Kotlin-first image loader that uses coroutines and OkHttp for disk caching, claims to add ~2,000 methods to an app (if you don’t already depend on coroutines/OkHttp), and adds Jetpack Compose via Jetpack Compose support (1.3.0). The pipeline runs interceptors and mappers on the main thread, fetchers/decoders/transformations on workers, offers enqueue (returns a disposable) and execute (suspend) APIs, and implements a two‑layer in‑memory cache (strong→weak eviction, weak cache cleared every 10 set operations).

AI-written summary · about

  1. 0:00Start
  2. 3:02What is COIL?
  3. 4:45Why COIL?
  4. 9:37Kotlin syntactic sugar
  5. 10:43Imperative style
  6. 11:25Jetpack Compose Support
  7. 12:42The pipeline
  8. 15:54ImageLoader
  9. 17:45Interceptors
  10. 20:04Plugin custom interceptor
  11. 21:36Mappers
  12. 21:46Mapper - Example
  13. 23:14Plugin custom mapper
  14. 26:49Plugin custom fetcher
  15. 29:28Plugin custom decoder
  16. 31:27Plugin custom transformation
  17. 31:55Thread
  18. 32:24In memory caching
  19. 35:01Strong Memory Cache
  20. 37:18Weak Memory Cache
  21. 38:03Summary
  22. 39:05Resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.