{ "id": "136091", "key": "TIMOB-17620", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2014-11-04T17:04:41.000+0000", "created": "2014-09-04T08:55:19.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "TCSupport", "animated", "listsection" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [ { "id": "42637", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "131581", "key": "TIMOB-17138", "fields": { "summary": "iOS: Unable to disable animations in ListView when appending multiple rows", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "42636", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "inwardIssue": { "id": "124012", "key": "TIMOB-16115", "fields": { "summary": "iOS: Unable to disable animation when using ListView.setItems()", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-23T18:04:36.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h4. Problem Description\r\nThis ticket is related to TIMOB-16115 as it is the same bug, but now also found in {{insertItemsAt()}}, {{replaceItemsAt()}} and {{appendItems()}}.\r\n\r\n- Video: http://www.screencast.com/t/wI99ro2OuZ0\r\n\r\nh4. Steps to reproduce\r\n1. Create new mobile project (classic titanium)\r\n2. Paste this code into app.js\r\n{code}\r\nvar items = [\r\n {properties: {title: 'Cod'}},\r\n {properties: {title: 'Haddock'}},\r\n {properties: {title: 'Fish'}},\r\n {properties: {title: 'Clam'}}\r\n];\r\n\r\nvar section = Ti.UI.createListSection();\r\nsection.setItems(items);\r\n \r\nvar list = Ti.UI.createListView({\r\n top: 60\r\n});\r\nlist.appendSection(section);\r\n\r\nvar insert = Ti.UI.createButton({\r\n title: 'Insert'\r\n});\r\n\r\ninsert.addEventListener('click', function(e) {\r\n section.insertItemsAt(1, items, {\r\n animated: false,\r\n animationStyle: Ti.UI.iPhone.RowAnimationStyle.NONE\r\n });\r\n});\r\n\r\nvar replace = Ti.UI.createButton({\r\n title: 'Replace'\r\n});\r\n\r\nreplace.addEventListener('click', function(e) {\r\n section.replaceItemsAt(1, 1, items, {\r\n animated: false,\r\n animationStyle: Ti.UI.iPhone.RowAnimationStyle.NONE\r\n });\r\n});\r\n\r\nvar append = Ti.UI.createButton({\r\n title: 'Append'\r\n});\r\n\r\nappend.addEventListener('click', function(e) {\r\n section.appendItems(items, {\r\n animated: false,\r\n animationStyle: Ti.UI.iPhone.RowAnimationStyle.NONE\r\n });\r\n});\r\n\r\nvar set = Ti.UI.createButton({\r\n title: 'Set'\r\n});\r\n\r\nset.addEventListener('click', function(e) {\r\n section.setItems(items, {\r\n animated: false,\r\n animationStyle: Ti.UI.iPhone.RowAnimationStyle.NONE\r\n });\r\n});\r\n\r\nvar toolbar = Ti.UI.iOS.createToolbar({\r\n top: 20,\r\n items: [insert, append, replace, set],\r\n extendBackground: true\r\n});\r\n \r\nvar win = Ti.UI.createWindow();\r\n\r\nwin.add(toolbar);\r\nwin.add(list);\r\n\r\nwin.open();\r\n{code}\r\n3. Run it simulator. ", "attachment": [ { "id": "50977", "filename": "listsectionanim.mov", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-09-04T08:55:19.000+0000", "size": 738032, "mimeType": "video/quicktime" } ], "flagged": false, "summary": "iOS: Unable to disable animation for ListSection.*Items(At) methods", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "SDK 3.3.0.GA", "comment": { "comments": [ { "id": "330676", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Marking as duplicate of TIMOB-16115", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-11-04T17:04:41.000+0000", "updated": "2014-11-04T17:04:41.000+0000" }, { "id": "415317", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate with reference to the linked issues above.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T18:04:36.000+0000", "updated": "2017-03-23T18:04:36.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }