This ticket is related to TIMOB-16115 as it is the same bug, but now also found in
1. Create new mobile project (classic titanium)
2. Paste this code into app.js
var items = [
{properties: {title: 'Cod'}},
{properties: {title: 'Haddock'}},
{properties: {title: 'Fish'}},
{properties: {title: 'Clam'}}
];
var section = Ti.UI.createListSection();
section.setItems(items);
var list = Ti.UI.createListView({
top: 60
});
list.appendSection(section);
var insert = Ti.UI.createButton({
title: 'Insert'
});
insert.addEventListener('click', function(e) {
section.insertItemsAt(1, items, {
animated: false,
animationStyle: Ti.UI.iPhone.RowAnimationStyle.NONE
});
});
var replace = Ti.UI.createButton({
title: 'Replace'
});
replace.addEventListener('click', function(e) {
section.replaceItemsAt(1, 1, items, {
animated: false,
animationStyle: Ti.UI.iPhone.RowAnimationStyle.NONE
});
});
var append = Ti.UI.createButton({
title: 'Append'
});
append.addEventListener('click', function(e) {
section.appendItems(items, {
animated: false,
animationStyle: Ti.UI.iPhone.RowAnimationStyle.NONE
});
});
var set = Ti.UI.createButton({
title: 'Set'
});
set.addEventListener('click', function(e) {
section.setItems(items, {
animated: false,
animationStyle: Ti.UI.iPhone.RowAnimationStyle.NONE
});
});
var toolbar = Ti.UI.iOS.createToolbar({
top: 20,
items: [insert, append, replace, set],
extendBackground: true
});
var win = Ti.UI.createWindow();
win.add(toolbar);
win.add(list);
win.open();
3. Run it simulator.
Marking as duplicate of TIMOB-16115
Closing ticket as duplicate with reference to the linked issues above.