Currently A Software Engineer at Clubhouse working on the Android app
Rafa Moreno
A Picture Is Worth A 1,000 … Lines? Devs?: Get the full picture (on image loading) with Coil
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)
imageView.setImageBitmap(bitmap)
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.