These tips are gathered from articles and Google IO videos. The items are not ordered by importance.
1. Reuse convertView
Always reuse convertView. This can improve the performance of ListView scrolling up to 50-60% percent, especially when ListView items are complex.
2. Use the Holder pattern if possible.
3. Remove realtime computation of the scrollbar thumb size
1
|
android:smoothScrollbar="false" |