{ "id": "122141", "key": "TIMOB-15674", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": null, "resolutiondate": null, "created": "2013-11-06T14:22:43.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:51.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h1. Request\r\n\r\nA way to set data both sections and items with just one call into a listview.\r\n\r\nExample: \r\n\r\n{code}\r\n\r\neventList.setData(data);\r\n\r\n{code}\r\n\r\nh1. Current Behavior\r\n\r\nCustomer currently have a listview and they create 20 to 30 sections dynamically but counting the items in each section they made near 200 \"cross the bridge\" actions and they are worried about impact in the performance.\r\n\r\n", "attachment": [], "flagged": false, "summary": "ListView: Set data including sections and items with one call ", "creator": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK: Mobile 3.1GA\r\nPlatform OS: iOS\r\nPlatform OS Version: 7", "comment": { "comments": [ { "id": "278431", "author": { "name": "moshebox@gmail.com", "key": "moshebox@gmail.com", "displayName": "Moshe Marciano", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "Also, it would be nice to allow Alloy XML binding with sections.\r\n\r\nplus, this is not iOS only, Android too\r\n\r\nthanks", "updateAuthor": { "name": "moshebox@gmail.com", "key": "moshebox@gmail.com", "displayName": "Moshe Marciano", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-11-06T16:07:27.000+0000", "updated": "2013-11-06T22:58:48.000+0000" }, { "id": "281907", "author": { "name": "moshebox@gmail.com", "key": "moshebox@gmail.com", "displayName": "Moshe Marciano", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "also, what about the ability to setData of only part of the data? imagine I have updates to the live listview, but only two rows changed out of 200, I am now forced to update all 200 of them? very expensive", "updateAuthor": { "name": "moshebox@gmail.com", "key": "moshebox@gmail.com", "displayName": "Moshe Marciano", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-12-02T16:45:59.000+0000", "updated": "2013-12-02T16:45:59.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }