Rafa Moreno

Software Engineer at Clubhouse

Talk Title

A Picture Is Worth A 1,000 … Lines? Devs?: Get the full picture (on image loading) with Coil






13:25 > 40 min


on Twitter

To download an image on Android, all you need are these lines of code:
val input = URL(“https://cutecatsimage”).openStream()
val bitmap = BitmapFactory.decodeStream(input)
Why then, are there whole projects and teams dedicated to doing this on Android like Coil, Picasso, Glide, etc. In this talk we’ll focus on Coil and look under the hood to break down the inner workings of Coil’s image downloading pipeline. We’ll go way beyond using `imageViewload(“https://cutecatsimage”)`, and dive deep into Coil’s source code to understand how it handles loading your image into memory, caching, and transforming your image. You’ll walk away from this talk with a rich understanding of the journey the images you’re working with take to show up on your screen, and a being in a much better spot to work with problems that could arise.

Speaker Bio

Currently A Software Engineer at Clubhouse working on the Android app