How to handle a TAU list with more than 50 items?

How to handle a TAU list with more than 50 items?

BY 13 Feb 2018 Web Application Development

Hi,

I have a large number of list items (around 50 items) that are loaded using Ajax request when the page is shown. After that, I use:

snapListHelper = tau.helper.SnapListMarqueeStyle.create(list, {
	marqueeStyle : "endToEnd",
	iteration : "infinite",
	animate : "scale"
});
snapList = tau.widget.SnapListview(list);

but the gear performance slows down heavily.

I tried using Virtual List then apply the TAU styles above (marquee & scaleAnimation), but the styles were only applied to the initially loaded elements.

I also tried pagination with Ajax but that failed too for the same reason.

So, what’s the best approach to handle a large number of list items in Tizen?

Thanks

Written by