Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Android ListView performance enhancement using ViewHolder pattern?

$
0
0

Hi,

I am currently using a ListView to display List items containing 1 ImageView and 2 Labels. There are around 40 items displayed in the list. Scrolling through the List when the app is first opened is (very) laggy. When I have scrolled through the entire list once, it's all good. Scrolling up and down is then very smooth.

I want the first scrolling experience also to be smooth, but that doesn't work 'out of the box'. After some searching I found the ViewHolder-pattern on http://developer.android.com/training/improving-layouts/smooth-scrolling.html. However, I haven't found an implementation in Titanium Appcelerator for this pattern.

Does anybody know if this pattern is supported bij Titanium and if so, how can I make use of it? Are there some other tips to increase smooth scrolling?


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>