Project: titanium
Issue TIMOB-16115: iOS: Unable to disable animation when using ListView.setItems()
h3. Reproduce Step # Run below test code. (case1 & case2) # You can see wired section animation h3. actual Result see this video : http://screencast.com/t/rajjRG1g When items.length is same, it work properly. But if items.length is changed, it work with wired animation {code} var win = Ti.UI.createWindow({ backgroundColor : 'white' }); var listView = Ti.UI.createListView(); var section = Ti.UI.createListSection(); listView.sections = [section]; var items = []; var i=0; setInterval(function(){ items.push({ properties : { title : 'Item '+ i++ } }); // case 1 : animated = false /* section.setItems(items,{ animated : false }); */ // case 2 : animationStyle = Ti.UI.iPhone.RowAnimationStyle.NONE section.setItems(items,{ animationStyle : Ti.UI.iPhone.RowAnimationStyle.NONE }); },1000); win.add(listView); win.open(); {code} h3. Expected Result If set animated to false or animationStyle to NONE, there are no animation.
Story points: 13