I develop an audio player for Android and in my browse album activity I have a performance problem: lot of lag on scroll.
In this image is my layout representation :
It's a ListView which display a row; a row contains 5 albums grouped by artist.
Each different color is a different layout file. And each file is managed by an Adapter.
In the album (orange color), I don't use compoundDrawable on the TextView because I have ImageView lazy loading and I don't understand how I can make this lazy loading on textview compoundDrawable.
If you need, I can post all layout files.
After many optimizations, i change my layout like this
Have you read this article?
Android Performance Case Study
It may help in your case but not knowing more about how you are setting up the view, it's just a suggestion.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With