# Android Image Loading at SoundCloud

DevFeed: [Android Image Loading at SoundCloud](<https://devfeed.tech/articles/android-image-loading-at-soundcloud-1986.md>)

Original publisher: [Read original article](<https://developers.soundcloud.com/blog//android-images-at-soundcloud>)

Published: 2022-10-13T00:00:00Z

Content type: article

Language: en

Sources: [SoundCloud Backstage](<https://devfeed.tech/sources/soundcloud-backstage-blog.md>)

Topics: [Picasso](<https://devfeed.tech/topics/picasso.md>), [Image](<https://devfeed.tech/topics/image.md>), [Android](<https://devfeed.tech/topics/android.md>), [recyclerview](<https://devfeed.tech/topics/recyclerview.md>), [Image processing](<https://devfeed.tech/topics/image-processing.md>), [animations](<https://devfeed.tech/topics/animations.md>), [constraintlayout](<https://devfeed.tech/topics/constraintlayout.md>), [Android Testing](<https://devfeed.tech/topics/android-testing.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [adapter](<https://devfeed.tech/tags/adapter.md>), [added](<https://devfeed.tech/tags/added.md>), [all](<https://devfeed.tech/tags/all.md>), [also](<https://devfeed.tech/tags/also.md>), [android](<https://devfeed.tech/tags/android.md>), [animate](<https://devfeed.tech/tags/animate.md>), [animation](<https://devfeed.tech/tags/animation.md>), [app](<https://devfeed.tech/tags/app.md>), [design](<https://devfeed.tech/tags/design.md>), [image](<https://devfeed.tech/tags/image.md>), [images](<https://devfeed.tech/tags/images.md>), [loading](<https://devfeed.tech/tags/loading.md>), [me](<https://devfeed.tech/tags/me.md>), [new-year](<https://devfeed.tech/tags/new-year.md>), [picasso](<https://devfeed.tech/tags/picasso.md>), [remarkable](<https://devfeed.tech/tags/remarkable.md>), [team](<https://devfeed.tech/tags/team.md>), [thing](<https://devfeed.tech/tags/thing.md>), [type](<https://devfeed.tech/tags/type.md>)

## AI overview

SoundCloud traced slower image loading and flicker after its Android redesign to several causes. It replaced bitmap keys in its palette cache with image URL strings, and sped up palette generation by shrinking 500x500 bitmaps to 15x15 and requesting fewer colors, trading some color accuracy for speed. Picasso animations were limited to network-loaded images and shortened from 200 ms to 60 ms; cached images display directly. The app also preloads three upcoming RecyclerView images, with checks to avoid duplicate, visible, out-of-range, or incompatible items. Stacked playlist images caused GPU overdraw. A custom drawing approach showed how to draw only visible bitmap areas, but the complete implementation proved complex to maintain and showed no performance benefit, so it was excluded. The excerpt emphasizes measuring UI performance during redesigns.

## Source excerpt

The SoundCloud Android app recently got a significant makeover: a "new year, new me" type of thing. Our remarkable design team and...